Login    You have 0 item(s) in your Shopping Cart  

 
 
previous | up | next 
Height Map Part5


 E-mail this product to a friend

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 Product
 C Tutorials
 C++ Tutorials
 C# Tutorials
 Java Tutorials
 Win32 Tutorials
 Direct3D Tutorials
 OpenGL Tutorials
 Recent Tutorials
 Free Tutorials



Get All 350+ Tutorials Now!


                                                              Main  |  FAQ  |  Terms of Use  |  Links Contacts Forums