History: -Height Map
Source of version: 5
Copy to clipboard
{INCLUDE(page="ogrelex ext tpl")/}
---
__Height Map__ - A two-dimensional, generally 8-bit greyscale bitmap that is used to represent a three-dimensional ((-Mesh|mesh)), generally a terrain. The value of each pixel in the map is translated into the height for a ((-Vertex|vertex)) or series of vertices when constructing a mesh. Normally, black is "0" and white is "255" and the shades of grey in between are heights between 0 and 255. Also 16-bit grayscale bitmaps are possible for finer differentiation. Then white has the value 65,536.
Example for a terrain (texture + height map):
{img src="img/wiki_up/Terrain_texture_heightmap.jpg" alt="Terrain texture heightmap.jpg"}
---
{INCLUDE(page="ogrelex ext tpl")/}
---