

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A homework assignment for the university of michigan eecs 487 class in the fall of 2008. The assignment includes problems on line rasterization using the mid-point algorithm, clipping using cohen-sutherland or cyrus-beck algorithms, finding a 3d vector orthogonal to a triangle, calculating barycentric coordinates, applying linear transformations to triangles, and ellipse rasterization. Students are required to show their work for full credit.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


UM EECS 487 Fall 2008
Show your work for all the questions below. If you don’t show your work, you will get only a third of the points if your answers are correct.
(a) (− 3 , −4) to (− 8 , −12)
x y d
.........
(b) (3, −7) to (11, −10)
x y d
.........
(a) A = (− 10 , 20), B = (50, −20), and W = {(x, y) : 0 ≤ x ≤ 80 , 0 ≤ y ≤ 30 }. (b) A = (− 10 , 20), B = (50, −20), and W = {(x, y) : |x| + |y| ≤ 40 }.
(a) Find a 3D vector n of unit length and orthogonal to the triangle ABC where A = (5, 3 , 2), B = (− 1 , 7 , 2), and C = (0, 0 , 5). (b) What is the area of the triangle ABC?
Apply the linear transformation given by matrix M =
[ 2 − 2 2 2
] to the triangle ABC, where
A = (1, 3), B = (4, 3), and C = (4, 1). Let A′^ = M A, B′^ = M B, and C′^ = M C. Find the area of triangle A′B′C′. Describe in words what the transformation M does.
(x − x 0 )^2 a^2
(y − y 0 )^2 b^2
where (x 0 , y 0 ) is the center of the ellipse, and a and b are the lengths (in pixels) of the two axes (termed the major and minor axes depending on which is larger, a > 0 and b > 0 ). (x 0 , y 0 ), a and b are all provided to the algorithm. Describe the highlights and design choices of your approach before presenting the actual algorithm.