previous |  up  | next
 

Normals   

Author:  DigiBen

In this tutorial we explain what a "normal" is and the math behind calculating them.  Math topics include the cross product, magnitude and normalizing of vectors.  Normals are used for many things, lighting and collision for example.

Functions Used:  glViewport(), glMatrixMode(), glLoadIdentity(), gluPerspective(), glClear(), gluLookAt(), glBegin(), glEnd(), SwapBuffers()


purchase full version
Access EXE

 
 
 

 

 

 


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