![]() |
VR-Forces 5.0.3 Developer's Guide
|
Terrain database files are imported using DtTerrainImplementations (terrainImplementation.h).
A DtTerrainImplementation knows how to import terrain geometry data (terrain skin) from an external format and provide intersection capabilities. VR-Forces has the following terrain implementations:
These terrain implementors handle the following terrain types:
Shapefile (SHP)
For example, to load an FBX database, do the following:
By default, VR-Forces looks in ./bin64/terrainImplementations/ to find the terrain implementation to use. If you create your own terrain implementation, you can change where VR-Forces looks for terrain implementations by setting the MAK_TERRAIN_IMPLEMENTATION_LIB_DIR environment variable.