Learn

The course follows the OpenGL pipeline in five sections. Demos walk through an idea step by step; exercises ask you to build it in the editor.

46 lessons in five sections

Pipeline

The rendering pipeline, rasterization, normalized device coordinates and the GLUT program structure.

  • glutInit
  • glutDisplayFunc
  • glutMainLoop

7 lessons

Primitives

glBegin and glEnd primitives, colour, line styles, bitmap text and GLUT callbacks.

  • glBegin
  • glColor3f
  • glLineStipple

12 lessons

Buffers

Immediate mode, vertex arrays and VBOs, side by side.

  • glVertexPointer
  • glBufferData
  • glDrawElements

9 lessons

Transforms

Translate, rotate and scale, the matrix stack and glOrtho.

  • glTranslatef
  • glRotatef
  • glPushMatrix

9 lessons

Textures

Texture objects, UV coordinates, filtering and wrapping.

  • glBindTexture
  • glTexParameteri
  • glTexCoord2f

9 lessons