VR-Forces 4.0.4 Class Documentation
Terrain Implementations

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]


Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)