Supercomputer Applications
Student Projects
Year 2002-2003
Download basicanimate.c, a basic animation program
Download basicanimate4.c, this one includes text
Download basicanimate5.c, this one includes a MENU
Download cannon3d.cpp, uses gluLookAt() to "pan" through the projectile program
Download scene2.c, pans through a 3D scene with Z and Y, using gluLookAt
void gluLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ )
PARAMETERS: eyeX, eyeY, eyeZ: Specifies the position of the eye point.
centerX, centerY, centerZ: Specifies the position of the
reference point.
upX, upY, upZ Specifies the direction of the up vector.
Helpful Links:
- Glut API Definitions
- Index to GL and GLU definitions, html pages
- OpenGL Programming Guide (our textbook - also known as The Red Book)
Sample Simple HTML file