|
EXERCISES FOR WEEK 8
|
| week8-1 |
Without writing a program (just use calculator), using Newell's Algorithm, calculate "face normals" for each face of
the barn as defined in class. |
| week8-2 | For each vertex of both roof sections of the
barn, calculate the normal vector for that vertex, using the fact that vertex normal = sum of face normals sharing that vertex. Normalize these 6 vertex normals. |
| week8-3 | Use Newell's method to find the normal
vector for the polygon having vertices (1,1,2), (2,0,5), (5,1,4),
and (6,0,7). Is the polygon planar? |
| week8-4 | Do the hand calculations for what happens when you call the function gluLookAt. If the eye (camera) is at (4,4,4), the look at point is (0,1,0), and the original up direction for the camera is <0 1 0>, find the following for the UVN coordinant system attached to the camera:
Be sure to normalize each. Then fill in the values for matrix V, which is used by OpenGL to postmultiply the current ModelView Matrix by when the call is made. Finally, do the multiplication and find the transformed point Q for the original point P in the scene, if P has coordinants (Px, Py, Pz).
|
| week8-5 | Do practice exercise 7.4.1 on page 344 of the text.
|
| week8-6 | Do practice exercise 7.4.2 on page 344 of the text. |