Computer Science & Software Engineering |
CSCI 441 |
The goal of this assignment is to familiarize yourself with lighting objects and getting user input via the mouse.
Modify the lit torus example from the book, posted on our website, so that the position of the light changes based on the movement of the mouse. Use the example for Blinn-Phong lighting
This assignment is similar to exercise 7.1 at the end of the chapter in your text (although that one uses Gouraud lighting).
Hint: Your class will need to implement at least one additional Listener, and you will have to implement the methods for that interface.
Page last updated: March 02, 2018