CS 357

Primer Examples

This is a collection of examples to supplement Ed Angel's book OpenGL Primer.

Many of the code examples in the Primer are partial programs. In this directory you will find these extended to full programs. The directory is organized as a series of subdirectories keyed to each chapter. Each subdirectory has its own makefile that will make all of the programs in that directory.

Chapter 2: 2D Programming

Chapter 3: Interaction

Chapter 4:Basic 3D Programming

Chapter 5: Transformations

Chapter 6: Lights and Materials

Chapter 7: Images and Bitmaps

Chapter 8: Texture Mapping

Chapter 9: Curves and Surfaces

Chapter 10: Putting It All Together