<skirt_ratio> Element
(Documentation :: Earth Files?)
osgTerrain draws "skirts" that extend down from the edges of terrain tiles in order to hide potential gaps between terrain tiles of different levels of detail as they are being paged in. The <skirt_ratio> element controls the ratio of the tiles radius to use when determining how tall these skirts will be. The default value is 0.02. Setting this value too small can cause gaps to be visible between terrain tiles. Larger <skirt_ratio> values can be necessary in areas with highly varying elevation values or when using large <vertical_scale> values, however, setting the value too high can cause unnecessary rendering and can hurt your fill rate.
Example:
<map name="MyMap" type="geocentric">
<!--Add a TMS image source-->
<image name="TMS" driver="tms">
<url>http://labs.metacarta.com/wms-c/Basic.py/1.0.0/satellite/</url>
<format>jpeg</format>
<tile_size>256</tile_size>
</image>
<!--Increase the skirt ratio to draw longer terrain tile skirts-->
<skirt_ratio>0.1</skirt_ratio>
</map>
