Professional Documents
Culture Documents
Name: ID:
Instructions: Attempt all the questions. Please write your answers clearly and concisely.
1. (0.5+0.5+1+1+1 points) Consider the following equation of a parabola x2 = 4ay, where a > 0. Lets
say we want to design a midpoint algorithm to rasterize this parabola. Answer the following questions.
2. (1+1 points) Consider an axis S2 passing through origin and making an angle 45◦ and and orthogonal
axis S1 . Find the composite transformation matrix to scale a unit square with vertex coordinates
(0, 0), (0, 1), (1, 0), (1, 1) for a factor of 2 along S1 and a factor of 1 along S2 . Find the final coordinates
after transformation.
3. (3 points) We want to put a mirror in a 3D scene. The mirror is specified as a 3D rectangle specified
with its corner points and with one of its principle axes parallel to the y axis and the other parallel to
the xz plane (illustrated below Figure 1).
Give the transformation matrix that will generate mirror objects of all the objects in the scene (you may
assume all the objects are in front of the mirror). And show the results as a product of matrices.
5. (1+2 points) Consider the points A(0, 5, 2), B(0, 5, 3), C(5, 5, 2), and D(5, 5, 3). Let the projection plane
be at z = d = 2, perpendicular to z-axis, and the center of projection be at origin O(0, 0, 0).
1. Compute the point of projection of all four point A, B, C, and D on the given projection plane.
2. Compute the vanishing point of the two parallel lines L1(A, B) passing through A and B and
L2(C, D) passing through C and D. Explain all the steps.
6. (1+2 points) 1. Explain how a Viewing Reference Coordinate (VRC) is set. Clearly mention the input
parameters required for setting up VRC.
2. Expalin using a block diagram, the basic steps of 3D viewing pipeline.
Page 2