Helper class for loading heightmap data. More...
#include <common/common.hh>
Static Public Member Functions | |
static HeightmapData * | LoadTerrainFile (const std::string &_filename) |
Load a terrain file specified by _filename. More... | |
Helper class for loading heightmap data.
|
static |
Load a terrain file specified by _filename.
The terrain file format might be an image or a DEM file. libgdal is required to enable DEM support. For a list of all raster formats supported you can type the command "gdalinfo --formats".
[in] | _filename | The path to the terrain file. |