Referring to books, notes, or other students during the test will not be permitted.
The assignments, being oriented primarily toward programming, should not be considered a complete preparation for the test. Readings and review problems have been posted each week, as have lecture slides. You can expect the test to contain problems similar to the various review problems. Here are links to the other review-problem sets:
Week 8 review problems are given below. Answers are in the Answers section, below. Do not turn these in. We may certainly discuss any of these problems in class, if you want.Model/view can effectively store a sequence of transformations. We think of those at the head of the sequence (later in the code) as moving ________. We think of those at the tail of the sequence (earlier in the code) as moving ________ or ________.
gluLookAt(1., 2., 3., 4., 5., 6., 7., 8., 9.);
gluPerspective(20., 1., 0.5, 10.);
( |
|
) | ( |
|
) | . |
glRotated(20, 0,0,1);
glRotated(40, 1,0,0);
gluLookAt(3., 2., 1., 7.-3., 8.-2., 9.-1., ux, uy, uz);
( |
|
) | ( |
|
) | = | ( |
|
) | = | ( |
|
) | . |
( |
|
) | → | ( |
|
) | = | ( |
|
) | . |