#include <OgreTerrainRenderable.h>
Public Member Functions | |
TerrainOptions () | |
Public Attributes | |
size_t | pageSize |
The size of one edge of a terrain page, in vertices. | |
size_t | tileSize |
The size of one edge of a terrain tile, in vertices. | |
size_t | tilesPerPage |
Precalculated number of tiles per page. | |
const Camera * | primaryCamera |
The primary camera, used for error metric calculation and page choice. | |
size_t | maxGeoMipMapLevel |
The maximum terrain geo-mipmap level. | |
Vector3 | scale |
The scale factor to apply to the terrain (each vertex is 1 unscaled unit away from the next, and height is from 0 to 1). | |
size_t | maxPixelError |
The maximum pixel error allowed. | |
bool | useTriStrips |
Whether we should use triangle strips. | |
size_t | detailTile |
The number of times to repeat a detail texture over a tile. | |
bool | lodMorph |
Whether LOD morphing is enabled. | |
Real | lodMorphStart |
At what point (parametric) should LOD morphing start. | |
bool | lit |
Whether dynamic lighting is enabled. | |
bool | coloured |
Whether vertex colours are enabled. | |
MaterialPtr | terrainMaterial |
Pointer to the material to use to render the terrain. |
Definition at line 88 of file OgreTerrainRenderable.h.
|
Definition at line 91 of file OgreTerrainRenderable.h. References coloured, detailTile, lit, lodMorph, lodMorphStart, maxGeoMipMapLevel, maxPixelError, pageSize, primaryCamera, Ogre::SharedPtr< Material >::setNull(), terrainMaterial, tileSize, and useTriStrips. |
|
Whether vertex colours are enabled.
Definition at line 134 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
|
The number of times to repeat a detail texture over a tile.
Definition at line 126 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
|
Whether dynamic lighting is enabled.
Definition at line 132 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
|
Whether LOD morphing is enabled.
Definition at line 128 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
|
At what point (parametric) should LOD morphing start.
Definition at line 130 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
|
The maximum terrain geo-mipmap level.
Definition at line 117 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
|
The maximum pixel error allowed.
Definition at line 122 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
|
The size of one edge of a terrain page, in vertices.
Definition at line 109 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
|
The primary camera, used for error metric calculation and page choice.
Definition at line 115 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
|
The scale factor to apply to the terrain (each vertex is 1 unscaled unit away from the next, and height is from 0 to 1).
Definition at line 120 of file OgreTerrainRenderable.h. |
|
Pointer to the material to use to render the terrain.
Definition at line 136 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
|
The size of one edge of a terrain tile, in vertices.
Definition at line 111 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
|
Precalculated number of tiles per page.
Definition at line 113 of file OgreTerrainRenderable.h. |
|
Whether we should use triangle strips.
Definition at line 124 of file OgreTerrainRenderable.h. Referenced by TerrainOptions(). |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:48:16 2006