


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



A. Vectors (4 points)
Given the following two vectors:
a =
b =
Compute the following:
a 5
b 1
a!
b 4
a and
b 4/5 AKA.
B. Normal (1 point)
You are looking down at a flat quadrilateral, defined by four points that all lie in a plane:
pointing towards you (out of the paper).
(b-a) X (d-a) / |(b-a) X (d-a)| and similar
C. Point and vector expressions (6 points)
For each of the following expressions involving points a and b and vectors
u and
v ,
circle “Point” if the result is a point, “Vector” if the result is a vector, or “Invalid” if the
expression is not legal (AKA not affine invariant ). Hint: consider what happens to the w
component in homogeneous coordinates.
a + b Point Vector Invalid
a! b Point Vector Invalid
u!
v Point Vector Invalid
u Point Vector Invalid
1 3 a^ +^
2 3 b Point Vector Invalid
1 3 a^ +^
2 3
v Point Vector Invalid
D. Transformation matrix (2 points)
Consider a homogeneous affine transformation matrix M , constructed from columns ! a ,!
b ,!
c !and d^ :
ax bx cx dx
ay by cy dy
az bz cz dz
by M , in terms of
a ,!
b ,!
c !and d. b+d
changing position, but is spinning about its local z-axis. Which column or columns
(
a ,!
b ,!
c !or d ) of the matrix will not change as the object spins?
c and d
F. Concepts (8 points)
a. Camera Space
b. Image Space
c. Inner Space
d. Normalized View Space
e. Object Space
f. Outer Space
g. Projective Space
h. World Space
we expect each vertex to go through in the traditional transformation process:
Fill in letters here: 1. e 2. h 3. a 4. d 5. b
Match the descriptions to the appropriate concept.
a. A simpler object to make culling tests quicker
b. Aim at an object of interest
c. Draw or don’t draw triangles based on the order of their vertices
d. Makes things farther away appear smaller
e. Only draw objects that are in view
f. Preserves parallel lines
scene hierarchy. Arrange them in proper order for a drawNode() method.
a. Apply local transform
b. Draw geometry (if any)
c. Recursively draw children (if any)
d. Pop Matrix
e. Push Matrix
drawNode(node) {
e
a
b or c
c or b
d
}