
Public Member Functions | |
| DTErr | BasicInit (const vtElevationGrid *pGrid) |
| void | SetOptions (bool bUseTriStrips, int iBlockArrayDim, int iTextureSize) |
| virtual void | SetPolygonTarget (int iPolygonCount) |
| int | GetPolygonTarget () |
| int | GetNumDrawnTriangles () |
|
|
Sets up the vtDynTerrainGeom object. The units, extents, height range, grid dimensions and other properties are copied from the supplied elevation grid. This is generally called from the Init() method of a subclass. |
|
|
Return the number of triangles that were rendered by this dynamic terrain last frame. |
|
|
Get the polygon target, which is the number of polygons (generally triangles) which the CLOD algorithm will try to maintain. |
|
||||||||||||||||
|
Set the options for this vtDynTerrainGeom:
|
|
|
Set the polygon target, which is the number of polygons (generally triangles) which the CLOD algorithm will try to maintain. Reimplemented in SRTerrain. |
1.4.5