GPU Project

Assignment for Rendering Class


  • Implemented using QT4 and OpenGL
  • Shader code copied and modified from sample provided (also available from here.
  • Cook Torrance implemented using professors slides and original paper (R. Cook and K. Torrance, A reflectance model for computer graphics, ACM Transactions on Graphics, Vol. 1, No. 1, January 1982, Pages 7-24)
  • Phong code copied from my Raytracer Project
  • Minnaert algorithm found at
  • Gooch algorithm discussed in the Orange Book

Phong + Gouraud vs per-vertex Phong

(pictures are clickable for higher resolution versions)

Phong vs Cook-Torrance

Cook-Torrance Variants

Minnaert and Gooch examples