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
Top view, clip planes evaluator that computes view ranges based on ground distance and elevation.
Default evaluator TiltViewClipPlanesEvaluator supports top-down views.
This evaluator supports both planar and spherical projections, although it behavior is slightly different in each case. General algorithm sets near plane and far plane close to ground level, but taking into account maximum and minimum elevation of features on the ground.
This evaluator supports only cameras which are always looking down the ground surface (top-down view) along surface normal and does not preserve correct clip planes when modifying camera pitch (tilt) angle. In simple words it is suitable only for top view camera settings.