30.08.2014 Views

Past Midterm and Exam Questions (PDF) - Student.cs.uwaterloo.ca ...

Past Midterm and Exam Questions (PDF) - Student.cs.uwaterloo.ca ...

Past Midterm and Exam Questions (PDF) - Student.cs.uwaterloo.ca ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

62 CS488/688 Introduction to Computer Graphi<strong>cs</strong><br />

19.7 Rotation About an Arbitrary Axis [Last Used: Spring 1994 Final]<br />

Describe, in general terms, how you would accomplish a rotation about an arbitrary 3D line through<br />

a point p in direction ⃗v (i.e., l(t) = p + t⃗v). Illustrate with a diagram.<br />

19.8 Stroke Fonts [Last Used: Spring 1997 <strong>Midterm</strong>]<br />

The Hershey stroke fonts define each character in its own lo<strong>ca</strong>l, rectangular coordinate system.<br />

Suppose we wanted to slant or skew every character to the right, simulating the effect of h<strong>and</strong>writing.<br />

This could be accomplished by a 2D transformation in the xy plane that maps a rectangle<br />

into a parallelogram as depicted below:<br />

Q’<br />

Q<br />

P<br />

Assuming that the lower left corner of the rectangle is P <strong>and</strong> the upper right corner of the<br />

rectangle is Q, the transformation is completely determined by observing that P maps into P <strong>and</strong><br />

Q maps into Q ′ .<br />

(a) Write the equations to accomplish this transformation.<br />

(b) Write the associated homogeneous transformation matrix.<br />

19.9 Parallel Lines, Affine Maps [Last Used: Winter 1994 Final]<br />

Do parallel lines map to parallel lines under affine transformations? If so, then prove it. If not,<br />

give a counter example.<br />

19.10 Orthographic Projections [Last Used: Spring 1994 <strong>Midterm</strong>]<br />

The transformation T mapping [x, y, z, w] to [x, y, w] (where w may be either 0 or 1) is an example<br />

of an orthograhic projection. Prove that T is an affine transformation.<br />

19.11 Coordinate Frames [Last Used: Winter 1993 <strong>Midterm</strong>]<br />

Let F ∞ be a Cartesian frame in a two space. Let F ∈ be a frame given by {[ 1 2<br />

, 0, 0], [0, 1, 0], [1, 0, 1]}<br />

relative to F ∞ . Let P , Q, <strong>and</strong> ⃗v = Q − P have the following coordinates relative to F ∞ :<br />

P = [1, 1, 1]<br />

Q = [2, 1, 1]<br />

⃗v = [1, 0, 0].

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!