The objective for next week is to revise and, if you want, to add the following features to exercise of first lab:

1) modelling transformations, viewing (LookAt) transformation and perspective transformation

2) By using the freeglut, allow the keyboard and mouse to move the objects and camera


3) Adapt the code to support different types of shading using the reflection model of Phong


In order to do that, you should install and run the following example in your machines:

Phong_lighting

Analyze it and you can use it for next lab classes, in particular the transformations and code to move the camera and objects. The transformations are implemented with the AVTmathLib.cpp. To understand the given example you SHOULD consult the following tutorial in:

http://www.lighthouse3d.com/tutorials/glsl-core-tutorial/

Attachments