Computer Systems Lab
Collaboration and Distance Learning Ideas 2003

Computer Graphics with OpenGL - Download and run some introductory OpenGL programs
  1. Sample OpenGL programs:
    - basicwindow.c This program plots points in a parabola.
    Also see basicwindow.py (Python version)
    - window1x.c Demonstrates drawing xy axis, plus prints text on the graphics window
    Also see window1c.py (Python version)
    window3x.c Demonstrates sub-windows and keyboard and mouse "event callback" functions
  2. Shapes and Animation: parabola.c, a program from OpenGL Graphics resource page
  3. More Sample introductory programs
    - basicanimate.c A simple animation version of the curve plotting program
    - basicanimate4.c This one includes text on the graphics screen
    - basicanimate5.c This one demonstrates a Menu on the graphics screen
    - cannon3d.cpp Uses gluLookAt() to "pan" through the projectile program
    - scene2.c, pans through a 3D scene with Z and Y, using gluLookAt
    - References for Glut API definitions
  4. Spring 2002 class assignments - a good resource page
  5. More good intro OpenGL programs, plus work from past students
  6. Sample programs from Mark Kilgard
  7. Adding a menu, plus animated solar system and teapot
  8. Sample code from OpenGL.org, the "Redbook" examples are from our textbook.