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

 
 
previous | up | next 
Height Map Part3


 E-mail this product to a friend

Author:  DigiBen

Now that we know how to apply a texture to a terrain, this tutorial shows you how to tile a second texture on top of the first one to give the appearance of more detail.  This is called detail texturing, which can add a great deal of realism to a scene.  Multitexturing is used to achieve this neat effect.

Functions Used:  glBegin(), glEnd(), glVertex3i(), fopen(), fread(), fclose(), glBindTexture(), glMultiTexCoord2fARB(), glTexEnvi(), gluBuild2DMipmaps(), glMatrixMode(), glActiveTextureARB(), glScalef(), glLoadIdentity()


 
 
 


 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