previous |  up  | next
 

Height Map Part5   

Author:  DigiBen

The next part of the height map terrain series adds simple water and water reflections.  For the water, the tutorial uses a flat textured quad and scrolls the UV for water movement.  For the reflection portion, glClipPlane() is used and the scene is rendered upside down to produce the reflected effect on the water surface.

Functions Used:  glBegin(), glEnd(), glVertex3i(), fopen(), fread(), fclose(), glBindTexture(), glMultiTexCoord2fARB(), glTexEnvi(), glClipPlane(), glBlendFunc(), glCullFace(), glPushMarix(), glPopMatrix(), gluBuild2DMipmaps(), glMatrixMode(), glActiveTextureARB(), glScalef(), glLoadIdentity(), glFogi(), glFogCoordfEXT()


purchase full version
Access EXE

 
 
 

 

 

 


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