Opened 7 years ago

Last modified 2 years ago

#4638 new enhancement

Camera view config options — at Version 3

Reported by: elexis Owned by:
Priority: Should Have Milestone: Backlog
Component: UI – Miscellaneous Keywords:
Cc: Patch:

Description (last modified by elexis)

1. 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 file (everything under [view] in the default.cfg).

[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
  1. 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).
  1. 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).

Change History (3)

comment:1 by Stan, 7 years ago

Refs #3653 (Dupe ?)

comment:2 by elexis, 7 years ago

Milestone: Backlog
Resolution: duplicate
Status: newclosed

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 elexis, 7 years ago

Component: UI & SimulationCore engine
Description: modified (diff)
Keywords: simple added
Milestone: Backlog
Resolution: duplicate
Status: closedreopened
Summary: Camera Options and Isometric ViewCamera 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.

Note: See TracTickets for help on using tickets.