Opened 7 years ago
Last modified 2 years ago
#4638 new enhancement
Camera view config options
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Backlog |
Component: | UI – Miscellaneous | Keywords: | |
Cc: | Patch: | Phab:D1493 |
Description (last modified by )
Since it can be really useful for players and people who create promotional videos to change the maxzoom or camera movement speed, we should provide a way to change these things in the config page.
[view] ; Camera control settings scroll.speed = 120.0 scroll.speed.modifier = 1.05 ; Multiplier for changing scroll speed rotate.x.speed = 1.2 rotate.x.min = 28.0 rotate.x.max = 60.0 rotate.x.default = 35.0 rotate.y.speed = 2.0 rotate.y.speed.wheel = 0.45 rotate.y.default = 0.0 rotate.speed.modifier = 1.05 ; Multiplier for changing rotation speed drag.speed = 0.5 zoom.speed = 256.0 zoom.speed.wheel = 32.0 zoom.min = 50.0 zoom.max = 200.0 zoom.default = 120.0 zoom.speed.modifier = 1.05 ; Multiplier for changing zoom speed pos.smoothness = 0.1 zoom.smoothness = 0.4 rotate.x.smoothness = 0.5 rotate.y.smoothness = 0.3 near = 2.0 ; Near plane distance far = 4096.0 ; Far plane distance fov = 45.0 ; Field of view (degrees), lower is narrow, higher is wide height.smoothness = 0.5 height.min = 16
Assuming that the options are only visible if some "advanced settings" boolean is toggled and assuming that we have tabbing (as used in the credits page for example), these options could be exposed in the options page with checkboxes and sliders (potentially in a separate patch).
Independently, the Restrict camera
option in developer_overlay.xml
should also be loaded from a config entry, so that artists wanting to take screenshots from arbitrary angles can do that without having to interact with the menu each start (potentially in a separate patch).
Attachments (1)
Change History (26)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Milestone: | Backlog |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Ah thanks. Iso-view part is dupe. The camera options are a requirement to implement it in the least messy way afaics.
comment:3 by , 7 years ago
Component: | UI & Simulation → Core engine |
---|---|
Description: | modified (diff) |
Keywords: | simple added |
Milestone: | → Backlog |
Resolution: | duplicate |
Status: | closed → reopened |
Summary: | Camera Options and Isometric View → Camera view config options |
The isometric view part should be reserved for #3653.
In the context of this ticket, people can code the config options and potentially the options page entries.
comment:4 by , 7 years ago
Description: | modified (diff) |
---|
comment:5 by , 6 years ago
Owner: | set to |
---|---|
Status: | reopened → new |
comment:6 by , 6 years ago
The biggest task will be to find a good subset of the options, the ones that are useful to the player (to me most importantly keyboard scroll speed and farthest zoom level).
If we can avoid the verbosity of the config file, we maybe don't need the "advanced settings" checkbox.
follow-up: 9 comment:8 by , 6 years ago
The isometric view should really not be done using config options, but the other settings look good.
comment:9 by , 6 years ago
follow-up: 12 comment:10 by , 6 years ago
See the comments in #3653, it should be done with an different OpenGL view projection.
comment:12 by , 6 years ago
Replying to elexis:
See the comments in #3653 , it should be done with an different OpenGL view projection.
Implementation of isometric view will be taken care of as per #3653
but how is a the player going to enable Isometric view if not in the config options ?
comment:13 by , 6 years ago
Sure, if there is new C++ code, there will have to be a new boolean in the config.
follow-up: 15 comment:14 by , 6 years ago
Sorry I missed you today on IRC.
To submit your patch you have to follow the guidelines. The patch has to be submitted through Phabricator. Code.wildfiregames.com
To have your name in contributors your patch needs to be reviewed there accepted and committed
comment:15 by , 6 years ago
Replying to stanislas69:
Sorry I missed you today on IRC.
To submit your patch you have to follow the guidelines. The patch has to be submitted through Phabricator. Code.wildfiregames.com
To have your name in contributors your patch needs to be reviewed there accepted and committed
As per https://trac.wildfiregames.com/wiki/Phabricator
'For security reasons, we require patch authors to be members of the Contributors group on Phabricator before their patches are automatically tested. So before uploading your first patch, just come on IRC and say hello so a team member can add you to the group.'
Anyways i'll submit the patch on Phabricator then.
comment:17 by , 6 years ago
"'For security reasons, we require patch authors to be members of the Contributors group on Phabricator before their patches are automatically tested. So before uploading your first patch, just come on IRC and say hello so a team member can add you to the group.'"
Password Hi, I saw it.
comment:19 by , 6 years ago
comment:20 by , 6 years ago
Keywords: | simple removed |
---|---|
Milestone: | Backlog → Work In Progress |
comment:21 by , 6 years ago
Status: | new → assigned |
---|
comment:22 by , 5 years ago
Component: | Core engine → UI – Miscellaneous |
---|---|
Milestone: | Work In Progress → Alpha 24 |
Priority: | Nice to Have → Should Have |
Type: | defect → enhancement |
comment:23 by , 5 years ago
Patch: | → Phab:D1493 |
---|
comment:24 by , 5 years ago
Milestone: | Alpha 24 → Backlog |
---|---|
Owner: | removed |
Status: | assigned → new |
Backlogging due to lack of progress.
Refs #3653 (Dupe ?)