DM809 Computer Game Programming I: Graphics

Fall 2012, 1st quarter
Rolf Fagerberg

Official Course Description

See the course description at the web pages of the faculty.

Time and Place

The course starts Tuesday, August 28.


As textbook, we will use the following:

Computer Graphics Through OpenGL
By Sumanta Guha
Published by Chapman and Hall/CRC, 2010
ISBN 1439846200

The book has a website.


The exam is oral, with grades on the 7-point marking scale. The exam dates are October 22 and 23.

At the oral exam, you will draw an exam topic delineating a part of curriculum which you are to present in the first part of the examination. More details of the exam form are described at the bottom of the list of exam topics.

The sequence of students at the oral exam, its starting time, and the rooms can be seen here.

There is a spørgetime (session for asking questions on the exam and the curriculum) Friday, October 19, at 10:15 in Imadas seminar room.

A programming project must be passed in order to attend the oral exam. The deadline for the project is October 8.

The grades at the oral exam ended up with the following distribution.


Date Time Room Contents Reading
Tuesday, August 28 14-16 Imada seminar room Introduction to course (slides). Some elements of 3D graphics and OpenGL (slides) The slides. Chapter 2 in the textbook. Chapter 3 is not curriculum for the oral exam (and will not be covered at the lectures), but is useful to read with respect to the programming.
Friday, August 31 08-10 Imada seminar room A bit more on OpenGL and GLUT (slides). Transformations (slides) and animation. Pages 16-25 in the book OpenGL Programming Guide, 6th ed. (handout, older version available online). Sections 4.1-5 in the textbook.
Tuesday, September 4 14-16 Imada seminar room More on the math behind transformations (lecturers notes). Chapter 5 in the textbook. We covered mainly Section 5.4.3 (the rest will be covered next time).
Friday, September 7 08-10 Imada seminar room More on the math behind transformations (lecturers notes). Handout of the project Rest of Chapter 5 in the textbook. You are not required to read proofs not appearing or mentioned in the lecturer's notes.
Tuesday, September 11 14-16 Imada seminar room End of math behind transformations. Shear (lecturers notes). Change of coordinate system (lecturers notes). Pages 193-5 and sections 5.3.3, 5.4.8, 4.6.1-2 in the textbook.
Friday, September 14 08-10 Imada seminar room Shading (slides) Sections 11.1-8 and 11.12 in the textbook.
Tuesday, September 18 14-16 Imada seminar room Barycentric coordinates (lecturers notes). Normal vectors. Rest of Chapter 11, except sections 11.11.3-4. Sections 7.1-3.
Friday, September 21 08-10 Imada seminar room Textures (slides) Chapter 12 (excluding Section 12.4.2), Section 13.5 (actual math of 13.5.1 is not curriculum) Section 13.7 in the textbook.
Tuesday, September 25 14-16 Imada seminar room Assorted visual techniques (slides) Rest of Chapter 13, Section 4.8, Chapter 9.
Friday, September 28 08-10 Imada seminar room Rasterization Chapter 14. Because of remark 17.7 (p.554), most of Section 14.4 is not curriculum: only pages 543-547 and 555-556 should be read.
Tuesday, October 2 14-16 Imada seminar room Projection. Perspectively correct interpolation (lecturers notes). Chapter 18 up to the end of Section 18.1. Section 19.1. Pages 81-83 in 3D Game Engine Design by David H. Eberly, Morgan Kaufmann, 2001 (handout) - these pages and the lecturer's notes are an alternative presentation of the material in Section 19.1.3 (and in particular of the calculations on pages 684-685).
Friday, October 5 08-10 Imada seminar room More on perspective projection (lecturers notes). As last time, plus lecturer's notes (these may be seen as a more detailed version of Section 18.1.2).
Monday, October 8 14-16 Imada seminar room Euler angles. Quaternions (Overview of representations of rotations). Sections 6.2 and 6.3.
Friday, October 12 08-10 Imada seminar room End of quaternions (lecturers notes). Other rendering pipelines: ray tracing, radiosity (slides). As last time, plus sections 19.2 and 19.3.

Course Evaluation

As part of the Study Board's schedule of course evaluations, a course evaluation has been carried out. The aggregated answers (with comments removed for anonymity, as required by the Study Board) and the teachers plan of actions are now available.

Maintained by Rolf Fagerberg (