Allows to setup near/far offsets (margins), rendered geometry elevation relative to sea level as also minimum near plane and maximum far plane distance constraints.
defines near plane offset from the ground in the surface normal direction, positive values allows to render elevated terrain features (mountains, buildings). Defaults to Burj Khalifa building height.
defines far plane offset from the ground surface, negative values moves far plane below the ground level (use it to render depressions). Default zero - sea level.
minimum allowable near plane distance from camera, must be bigger than zero.
minimum distance between near and far plane, as a ratio of average near/far plane distance, it have to be significantly bigger than zero (especially if maxElevation and minElevation are equal), otherwise you may notice flickering when rendering, or even render empty scene if frustum planes are almost equal.
maximum ratio between ground and far plane distance, allows to limit viewing distance at overall. Have to be bigger than 1.0.
maximum ratio between ground and far plane distance, allows to limit viewing distance at overall. Have to be bigger than 1.0.
Helper object for reducing performance impact.
Helper for reducing number of objects created at runtime.
minimum distance between near and far plane, as a ratio of average near/far plane distance, it have to be significantly bigger than zero (especially if maxElevation and minElevation are equal), otherwise you may notice flickering when rendering, or even render empty scene if frustum planes are almost equal.
minimum allowable near plane distance from camera, must be bigger than zero.
Get maximum elevation to be covered by camera frustum.
Set maximum elevation above sea level to be rendered.
the elevation (altitude) value in world units (meters).
Get minimum elevation to be covered by camera frustum.
Set minimum elevation to be rendered, values beneath the sea level are negative.
the minimum elevation (depression) in world units (meters).
Get minimum view range that is possible to achieve with current evaluator settings.
Generated using TypeDoc
Evaluates camera clipping planes taking into account ground distance and camera tilt (pitch) angle (angle between look-at vector and ground surface normal).