2-D Graphics and OpenGL Lab

Tom Kelliher, CS 320

Feb. 18, 2009

Administrivia

Announcements

Project day Friday.

Assignment

From Last Time

Project discussion.

Outline

  1. Introduction to Lab.

  2. Lab.

Coming Up

Project day.

2-D Graphics and OpenGL Lab

Review main().

Some things you'll need:

  1. What is a CCW winding?

  2. atoi()

  3. glClear()

  4. GL_COLOR_BUFFER_BIT

  5. glColor3f()

  6. glBegin()/glEnd()

  7. GL_LINES, GL_LINE_LOOP, GL_POLYGON

  8. glVertex2f()

  9. Don't forget: libraries, command line argument.



Thomas P. Kelliher 2009-02-16
Tom Kelliher