Configuration constants for GlobeCameraController. More...
#include <GlobeCameraControllerConfiguration.h>
Static Public Member Functions | |
static GlobeCameraControllerConfiguration | CreateDefault (bool useLowLodSettings) |
Public Attributes | |
float | globeModeZoomDistance |
distance from camera to interest point in metres, above which "globe mode" is entered | |
float | globeModeBeginPitchAltitude |
altitude in metres above sea level at which camera pitch angle interpolation begins | |
float | globeModeEndPitchAltitude |
altitude in metres above sea level at which camera pitch angle interpolation ends | |
float | globeModeBeginFOVChangeAltitude |
altitude in metres above sea level at which camera field-of-view angle interpolation begins | |
float | globeModeEndFOVChangeAltitude |
altitude in metres above sea level at which camera field-of-view angle interpolation ends | |
float | minimumTilt |
minimum tilt (towards horizon) | |
float | pitchCityMode |
pitch angle in degrees used at and below globeModeBeginPitchAltitude | |
float | pitchGlobeMode |
pitch angle in degrees used at and above globeModeEndPitchAltitude | |
float | maxAltitude |
maximum camera altitude above sea level, metres | |
float | zoomAltitudeLow |
altitude used in defining field of view and touch input sensitivity | |
float | zoomAltitudeHigh |
altitude used in defining field of view and touch input sensitivity | |
float | touchZoomScaleAtAltitudeLow |
sensitivity scale of touch pinch-zoom gestures at or below zoomAltitudeLow | |
float | touchZoomScaleAtAltitudeHigh |
sensitivity scale of touch pinch-zoom gestures at or above zoomAltitudeHigh | |
float | touchPanScaleAtAltitudeLow |
sensitivity scale of touch pan gestures at or below zoomAltitudeLow | |
float | touchPanScaleAtAltitudeHigh |
sensitivity scale of touch pan gestures at or above zoomAltitudeHigh | |
float | fovZoomedInCity |
field of view in degrees used for altitudes at or below zoomAltitudeLow | |
float | fovZoomedInGlobe |
field of view in degrees used at globeModeBeginFOVChangeAltitude | |
float | fovZoomedOutGlobe |
field of view in degrees used at or above globeModeEndFOVChangeAltitude | |
float | clipPlaneThresholdAltitude |
float | transitionTimeToPolarPanHeadingSeconds |
animation time in seconds when transitioning from city to globe mode | |
bool | terrainFollowingEnabled |
if true, attempt to keep the interest of the camera approximately on the Earth's terrain surface | |
bool | forceApplyMapCollapse |
if true, always apply scaling to interest point in map collapse mode | |
bool | computeNearFarPlanes |
float | nearPlane |
If computeNearFarPlanes is false, use this near plane value;. | |
float | farPlane |
If computeNearFarPlanes is false, use this far plane value;. | |
float | altitudeSmoothingTimeConstant |
float | altitudeSmoothingMaxHeightDelta |
Configuration constants for GlobeCameraController.
|
static |
useLowLodSettings | if true, values suitable for use on low performance hardware devices are used |
float Eegeo::Camera::GlobeCamera::GlobeCameraControllerConfiguration::altitudeSmoothingMaxHeightDelta |
maximum difference in height between current interest point and point on terrain. Beyond this delta, interest point snaps onto terrain surface without interpolation
float Eegeo::Camera::GlobeCamera::GlobeCameraControllerConfiguration::altitudeSmoothingTimeConstant |
The camera interest point is constrained to lie on the (bumpy) Earth's terrain, with interpolation applied to smooth out sudden discontinuities in terrain height. This parameter controls the amount of smoothing applied, with the interest point eventually settling onto the terrain after approximately (3 x altitudeSmoothingTimeConstant) seconds
float Eegeo::Camera::GlobeCamera::GlobeCameraControllerConfiguration::clipPlaneThresholdAltitude |
at altitudes below this threshold, camera near and far clip plane distances are altered based on altitude in order to maximise z-buffer precision, minimising rendering artifacts due to z-order fighting
bool Eegeo::Camera::GlobeCamera::GlobeCameraControllerConfiguration::computeNearFarPlanes |
If true, automatically compute a near & far plane based on camera altitude, this is required for high altitude cameras due to depth precision balancing due to the size of our world space.