Height map geom
[Geoms]
Detailed Description
Height map geom.
- Attributes
- The following attributes are supported.
- image (string)
- Greyscale image to use as the height map
- Default: (empty)
- worldTexture (string)
- Material to use on distant portions of the heightmap, relative to the camera's pose
- Default: (empty)
- detailTexture (string)
- Material to use on nearby portions of the heightmap, relative to the camera's pose
- Default: (empty)
- size (float tuple)
- Size of the height map
- Default: 0 0 0
- Example
<geom:heightmap name="terrain_geom"> <image>terrain.png</image> <worldTexture>terrain_texture.jpg</worldTexture> <detailTexture>terrain_detail.jpg</detailTexture> <size>1000 1000 10.0</size> </geom:heightmap>
Classes | |
class | HeightmapGeom |
Height map geom. More... |