previous |  up  | next
 

Height Map Part2   

Author:  DigiBen

Working off of the previous height map tutorial, we apply a texture over the entire terrain.  The terrain is now rendered using triangle strips.  A fancy sky box is added for the effect as well.  Also, there is a tint of collision done with the camera and the terrain.  

Functions Used:  glBegin(), glEnd(), glVertex3i(), fopen(), fread(), fclose(), glBindTexture(), glTexCoord2f(), gluBuild2DMipmaps() 


purchase full version
Access EXE

 
 
 

 

 

 


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