OpenGL Introduction Lab

Tom Kelliher, CS 320

Feb. 4, 2011

Administrivia

Announcements

Assignment

Read 2.5-6.

From Last Time

Overview of Chapter 1.

Outline

  1. Mechanics of OpenGL projects.

  2. OpenGL Introduction Lab.

Coming Up

Discussion of CG programming basics.

Mechanics of OpenGL Projects

  1. See link on class home page to Eclipse/CDT IDE.

  2. Create new C project.

  3. Library files to include always:
    1. opengl32,
    2. glu32, and
    3. glut32.

  4. Header file always required:
    #include<GL/glut.h>
    
    -- Will include the header files for the other two libraries.

OpenGL Introduction Lab

  1. You'll need to fix a ``few'' things in pentagon.c.

    Callback model similar to Java's.

  2. OpenGL man pages on phoenix.



Thomas P. Kelliher 2011-02-04
Tom Kelliher