OpenGL lectures

Here are the slides and examples from the computer graphics lectures I've given at KTH as a member of the Stacken computer club. They were not part of any course, nor am I currently an employee at KTH.

OpenGL programming - An introduction

October 26, 2005

Synopsis

An introduction to traditional OpenGL programming. A brief description of the OpenGL state machine, how to perform simple drawing operations and how OpenGL works on a standards and community level. Basic knowledge of ANSI C and linear algebra is required.

Slides & Examples

Slides in ODF: opengl-lecture1.odp (1.3MB)

Slides in PDF: opengl-lecture1.pdf (426KB)

Source code for all examples: opengl-lecture1.src.tar.gz

The examples assume a Unix-like operating system. Support for other platforms is left as an exercise for the reader. To build the examples, you will also need GLFW.

Rendering engine design - An introduction

May 25, 2007

Synopsis

An introduction to writing a basic rendering engine on top of modern OpenGL. Common renderer design patterns, best practices and care and feeding of a modern GPU are discussed. A short guide to transitioning to modern OpenGL is also included. Basic knowledge of OpenGL, Standard C++ and linear algebra is required.

Slides & Examples

Slides in ODF: opengl-lecture2.odp (58KB)

Slides in PDF: opengl-lecture2.pdf (172KB)

The engine used as an example implementation was Wendy.

Documentation & Tutorials

Other Presentations