Terrain Formats
From Rigs Of Rods
A terrain is composed of five files:
- A .terrn text file containing RoR-specific data, mainly the position of objects in the terrain. See this terrn file description.
- A .cfg text file containing Ogre3D-specific data, used by the Ogre3D Terrain rendering plugin. See a typical terrain cfg file.
- A terrain elevation file. It is a RAW 16 bit DEM (digital elevation map). Its dimensions MUST BE 1025x1025. As a consequence, the total file size must be 2 101 250 bytes (2x1025x1025).
- A texture file: typically a large bitmap (for example a 1024x1024 BMP) that is projected onto the terrain. This texture must include shading and shadowing (the terrain is not shaded by RoR). The light source (the sun) heading is -60 degree and altitude of 25 degree.
- A miniature map: a 256x256 image (that can be the reduction of the texture file) used as a map in RoR.