Welcome to the Computer Graphics Tutorials

On this page you will find six tutorials that you will complete during the course, and the starting code and instructions for the final project. Each tutorial has a strict deadline, given below. The first three labs are already available and you should start working on them as soon as possible. The remainder of the labs will be made available no later than study week 2, and the projects will follow soon thereafter. Start with clicking the "Getting Started" link above, and then get cracking on the tutorials. Good luck and have fun!

Tutorial due dates

  • Nov 10

    Tutorial 1, 2, and 3.

    Thursday in study week 2.

  • Nov 17

    Tutorial 4 and 5.

    Thursday in study week 3.

  • Nov 24

    Tutorial 6.

    Thursday in study week 4.

  • Dec 15

    Project (either path tracer OR openGL project)

    Thursday in study week 7.


Tutorial 1:
Rendering a triangle

Learn the basics of writing an OpenGL application and draw a couple of triangles in your window.

Tutorial 2:

Learn how to apply texture mapping to triangles, how the depth buffer works and how to do alpha blending.

Tutorial 3:

Concatenate rigid body transforms to move objects or the camera.

Tutorial 4:

Compute the amount of light that is reflected in a surface towards the camera. We compute direct illumination from point lights and specular reflection from an environment map.

Tutorial 5:
Render to Texture

Learn how to render directly to a texture, and how to apply post-processing passes.

Tutorial 6:
Shadow Maps

Shadows can be computed with the classical shadow map method. The method relies on render to texture from lab 5.

Projects - Choose One

Path tracing

Implement a path-tracer to render photorealistic images. Reflections, transparency and global illumination. Path tracing is popular technique in, e.g., movie production.

OpenGL Project

Implement a real-time OpenGL project using all the stuff you've learnt and then add a new technique of your choice.