<terrain> Element (under <options>)
This section configures how the terrain engine will render image and elevation layers.
Sub-elements
| <elevation_interpolation> | Sets the interpolation method to use when upsampling elevation tiles |
| <lighting> | Whether OpenGL lighting is enabled on the terrain surface. (default: true) |
| <loading_policy> | Controls how the terrain engine loads tiles. |
| <compositor> | Controls how the terrain engine composites image layers. |
| <max_lod> | Sets the maximum overall level of tile subdivision. (default: limited by available data) |
| <min_tile_range_factor> | Controls the camera distance at which new tiles will page in |
| <sample_ratio> | Sets the tile sample ratio to decrease/increase sampling resolution. (see osgTerrain) (default: 1.0) |
| <skirt_ratio> | Sets the ratio of tile skirt height to tile size (see osgTerrain) |
| <vertical_scale> | Sets the vertical scale factor for elevation grid points (default: 1.0) |
| <edge_buffer_ratio> | The ratio to expand the extent of a tile if the layer needs to be mosaiced or reprojected to ensure that enough data is retrieved to cover the entire tile. For instance, to expand the bounds by 2%, enter a value of 1.02. |
Example
<map>
<options>
<terrain>
<loading_policy mode="sequential" compile_threads="1"/>
<compositor>multitexture</compositor>
<lighting>false</lighting>
...
</terrain>
...
</options>
...
</map>
