CS 381  >  Assignment 9

CS 381, Fall 2003
Assignment 9

General Information

Homework Policies

See the Homework Policies handout.

Questions (5 pts)

  1. Lambert Cosine.
    1. What is the “Lambert cosine”? (Hint: Your answer had better have the word “cosine” in it.)
    2. What is the simplest way to compute the Lambert cosine?
    3. What is the primary use of the Lambert cosine in CG?
    4. What somewhat unrealistic assumption is behind the usual computation involving the Lambert cosine?
  2. The Phong Model assumes that light sources are points. But mirror-like reflections of point light sources would not look realistic. How is this problem dealt with in the Phong model?

Program (25 pts)

Write a C++ program using OpenGL/GLUT that meets the following requirements.

Suggestions for Full Credit

As before, but here are some new ideas. (The old ones will still work, assuming they have not been covered in class yet.)

Note

Particularly well-done programs may be demonstrated in class.


CS 381, Fall 2003: Assignment 9 / Last update: 19 Nov 2003 / Glenn G. Chappell / ffggc@uaf.edu