OpenGL Introduction Lab
Tom Kelliher, CS 320
Feb. 6, 2009
Read 2.5-6.
Overview of Chapter 1.
- Mechanics of OpenGL projects.
- OpenGL Introduction Lab.
Discussion of CG programming basics.
- See link on class home page to Eclipse/CDT IDE.
- Create new C project.
- Library files to include always:
opengl32,
glu32, and
glut32.
- Header file always required:
#include<GL/glut.h>
-- Will include the header files for the other two libraries.
- You'll need to fix a ``few'' things in
pentagon.c.
Callback model similar to Java's.
- OpenGL man pages on phoenix.
Thomas P. Kelliher
2009-02-05
Tom Kelliher