Syntax
Result = dbMakeTerrain(TerrainID, HeightmapFilename.s)
Description
If #PB_Any is used as the TerrainID parameter, the new ID will be returned as 'Result'. Otherwise the value of 'Result' is the same value passed as the TerrainID parameter.
This command will create a new terrain object using the specified Heightmap file. A heightmap file is a simple image file that contains a greyscale representation of the landscape heights. The image file must contain an image with identical width and height, and ideally be a resolution equal or greater than 256 colours. Additional parameters control the size and detail of the terrain.
See Also