Angel and Shreiner: Interactive Computer Graphics, Seventh
Edition
Chapter 5 Solutions
5.1 Eclipses (both solar and lunar) are good examples of the projection of
an object (the moon or the earth) onto a nonplanar surface. Any time a
shadow is created on curved surface, there is a nonplanar projection. All
5.2 Suppose that the axis of the plane is its z direction and up is the y
direction. In the airplane’s coordinate system, the roll, pitch and yaw
correspond to rotations about the z, x and y axes respectively. Thus we
5.3 Suppose that we want the view of the Earth rotating about the sun.
Before we draw the earth, we must rotate the Earth which is a rotation
about the y axis. Next we translate the Earth away from the origin.
5.4 This problem is very similar to the next problem. We use the VRP to
translate the camera. The VPN becomes the new z direction. We can
5.5 Yes. Any sequence of rotations is equivalent to a single rotation about
a suitably chosen axis. One way to compute this rotation matrix is to form
5.6 If we start with a translation of the COP to the origin, the remaining
problem is to find the intersection of a projector from the origin to a point
1