Assignment 2 - Assignment 2 (Non-Programming &...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Assignment 2 (Non-Programming & Programming) Worth: 5 points Due Date and Time: Before class begins at 12:20 pm on 06/12/2007. Copy zipped programming submission to CS250 web page. Place your stapled non-programming submission in CS250 submission box in front office. Topics Introduction to Graphics Pipe Transforms: Scaling, Rotation, Translation, and View Non-Programming Section: Statement (Worth 50 points) Part 1: First, solve all three parts of exercise 5.15 from the text. The first part of exercise 5.15 is to derive the transformation matrix that rotates by an angle θ about u ˆ . The matrix is to be derived by composing the matrix that rotates u ˆ into the Z axis (call this M ) with a rotation transform ( ) z R , then composing this result with 1 M . The resultant matrix is written as: ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) + + + + + + 1 0 0 0 0 1 cos sin cos 1 sin cos 1 0 sin cos 1 1 cos sin cos 1 0 sin cos 1 sin cos 1 1 cos 2 2 2 2 2 2 z z x z y y x z x z y y y z y x y x z z y x x x u u u u u u u u u u u u u u u u u u u u u u u u The second part is to verify that, if u ˆ is a principal axis, the matrix reduces to x R , y R , or z R . Finally, explain why negating u ˆ and leaves the result unchanged. Part 2: Assume that we wish to align p ˆ to q ˆ by rotation in a plane containing both. As explained in class, alignment from
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

Assignment 2 - Assignment 2 (Non-Programming &...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online