Tutorial_10_Tinman
Description
- Derived from
-
Tutorial abstract
- Extended by
Full source code is included in the Tinman 3D SDK download. |
Tinman 3D tutorial #10 : Tinman
This is the base class for tutorials that demonstrate how to use the Low-level Terrain API.
Protected / Methods
CreateGeometry
Creates the terrain geometry.
The geometry object is responsible for computing terrain-space positions and vectors, based on heightmap coordinates and elevation values.
- See also
CreateHeightmap
Creates the terrain heightmap.
The heightmap provides the input terrain data that is used to generate the terrain mesh. It may also contain additional metadata, which is used to construct other objects like IGeometry and Geocentric automatically.
- IOException
-
If an I/O error has occurred.
- See also
CreateModifier
Creates the terrain mesh modifier.
A mesh modifier can be used to alter the terrain mesh vertices, for example to perform procedural displacement.
- See also
CreateVertexArrays
Creates the vertex data arrays.
The vertex data arrays store per-vertex data that is used by the CPU to build the terrain mesh and for performing spatial queries (e.g. picking).
- See also
CreateVisibleCheck
Creates the per-vertex visibility check that is used for continuous level-of-detail refinement of the terrain mesh.
- See also
TriangulateTerrain
Performs triangulation of the terrain.
When this method returns, the triangulationBuffer holds the result of the triangulation, possibly with an overflow (see TriangulationBuffer.HasOverflow).
The default implementation triangulates the whole terrain.