I have had the chance to instruct numerous OpenGL courses over the past year, each focusing on different aspects. I have found the information available online extremely helpful and here I share some of my own resources in hope that they will be of assistance to others.
Here are some of the exercises I use in lab sessions. You can download the complete source code from here. Download the partial exercises from here Provided are solutions for Microsoft Visual Studio 2008/2008 express. The projects require glut,freeglut and glew headers, libs and dlls to compile link and run. For convenice the headers and libs are included, and the dlls are downloadable from here.
| Name | Topics | C++ | JOGL |
|---|---|---|---|
| ex1 - 2D scene | States, color, polygon mode | yes | yes |
| ex2 - RGB cube | Immediate mode drawing, face direction | yes | yes |
| ex3 - Fractal Tree | View and model transformations, GLU quadrics | yes | yes |
| ex4 - Lights | Lighting, Z-buffer | yes | yes |
| ex5 - Acceleration | Display lists, Vertex Arrays, VBO | yes | no |
| ex6 - Textures | 2D Textures, Filtering, environment, FBO render to texture, Blending | yes | no |
| ex7 - Mirror | Stencil, user clipping | yes | no |