Public Member Functions | |
TerrainLattice (int widthTerrains, int heightTerrains, float terrainWidth, float terrainHeight) | |
~TerrainLattice () | |
void | Load (char *szBaseName, int maxNumTriangles, int maxBlockSize, float commonRepeats, bool bUseBorders=false) |
void | AddTerrainLoadListener (TerrainLoadListener &listener) |
void | RemoveTerrainLoadListener (TerrainLoadListener &listener) |
void | AddTerrain (Terrain *pTerrain, int positionX, int positionY) |
Terrain * | GetTerrain (int positionX, int positionY) |
Terrain * | GetTerrainAtPoint (float x, float y) |
void | SetCameraPosition (float x, float y, float z) |
void | SetDetailThreshold (float threshold) |
void | Tessellate () |
void | Render () |
float | GetElevation (float x, float y) |
float | GetWidth () |
float | GetHeight () |
|
Definition at line 2390 of file CLODTerrainRenderer.cpp. |
|
Definition at line 2402 of file CLODTerrainRenderer.cpp. |
|
Definition at line 2407 of file CLODTerrainRenderer.cpp. References demeter::Terrain::SetLatticePosition(). |
|
Definition at line 2725 of file CLODTerrainRenderer.cpp. |
|
Definition at line 2566 of file CLODTerrainRenderer.cpp. References demeter::Terrain::GetElevation(), and GetTerrainAtPoint(). |
|
Definition at line 2752 of file CLODTerrainRenderer.cpp. |
|
Definition at line 2413 of file CLODTerrainRenderer.cpp. Referenced by GetTerrainAtPoint(). |
|
Definition at line 2484 of file CLODTerrainRenderer.cpp. References GetTerrain(). Referenced by GetElevation(). |
|
Definition at line 2747 of file CLODTerrainRenderer.cpp. |
|
Definition at line 2658 of file CLODTerrainRenderer.cpp. References Exception, demeter::Terrain::GetHeight(), demeter::Settings::GetInstance(), demeter::Settings::GetMediaPath(), demeter::Terrain::GetWidth(), and demeter::Settings::PrependMediaPath(). |
|
Definition at line 2730 of file CLODTerrainRenderer.cpp. |
|
Definition at line 2649 of file CLODTerrainRenderer.cpp. References demeter::Terrain::Render(). |
|
Definition at line 2494 of file CLODTerrainRenderer.cpp. References demeter::TerrainLoadListener::TerrainLoaded(), and demeter::TerrainLoadListener::TerrainUnloading(). |
|
Definition at line 2557 of file CLODTerrainRenderer.cpp. References demeter::Terrain::SetDetailThreshold(). |
|
Definition at line 2613 of file CLODTerrainRenderer.cpp. References demeter::Terrain::m_pRootBlock, demeter::TerrainBlock::RepairCracks(), demeter::Terrain::Tessellate(), and demeter::Terrain::UpdateNeighbor(). |