previous |  up  | next
 

Texture Mapping Part4   

Author:  DigiBen

This tutorial shows you how to load a TGA file and create a texture map from it's data.  This supports 16, 24 and 32-bit TARGA files, along with RLE compressed images as well.  

Functions Used:  glViewport(), glMatrixMode(), glLoadIdentity(), gluPerspective(), glClear(), gluLookAt(), glBindTexture(), glTexCoord2f(), glBegin(), glEnd(), fopen(), fclose()


purchase full version
Access EXE

 
 
 

 

 

 


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