![]() |
VR-Forces 4.0.4 Class Documentation
|
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-inTerra has the following terrain implementations:
These terrain implementors handle the following terrain types:
For example, to load an OpenFlight database, do the following:
// Create and initialize a terrain interface DtTerrainInterface terrainInterface; terrainInterface.init(); // Load the terrain database // Openflight files. if(!terrainInterface.loadTerrain("HL_94.flt.flt")) { DtWarn("Couldn't load terrain database file\n"); return 1; }
[<< Using Vector Networks] [Home] [Top of Page]