previous |  up  | next
 

Height Map   

Author:  DigiBen

In this tutorial we get a first glimpse of how to render terrain. A height map is a set of gray scale color values that determine "height."  Here we read in a height map from a .raw file.

You can download a 3DS Max exporter (by Alexandre Ribeiro de Sá ) which creates .Raw files used in this tutorial.  Download:.MS

Functions Used:  glColor3f(), glBegin(), glEnd(), glVertex3i(), glColor4f(), fopen(), fread(), fclose(), 


Access Here

 
 
 

 

 

 


 C
 C++
 Win32
 Direct3D
 OpenGL
 C#
 Java
 Free Tutorials