April 2018
Beginner
552 pages
13h 58m
English
Once we have defined the display, camera, textures, and shaders that we are going to use, we can define the ElevationMap object.
It works by assigning a height to the terrain image based on the pixel value of the selected points of the image. For example, a single line of an image will provide a slice of the ElevationMap object and a row of elevation points on the 3D surface:

We create an ElevationMap object by providing the filename of the image we will use for the gradient information (textures/Map.png), and we also create the dimensions of the map (width, depth, and ...