Define a vertex.
A 3d point in world coordinates.
How do you rotate or scale about a point P=(a,b,c) instead of the origin?
Use the sandwich pattern:
T(a,b,c)MT(-a,-b,-c)
Where M is the rotation or scaling matrix.
How do you write points and vectors in homogeneous coordinates?
Point (x,y,z): [x y z 1]^T
Direction vector (x,y,z):
[x y z 0]^T
If you write M=ABC, which matrix is applied first?
The rightmost matrix acts first.
Define a primitive.
A point, line or triangle built from vertices.
How do you invert a model matrix made from translations, rotations, and scalings?
If a model matrix is built as a product of affine transforms
M=A B C D, then its inverse is
M^-1=D^-1 C^-1 B^-1 A^-1.
Use these rules:
1. Translation:
T(t_x,t_y,t_z)-1 = T(-t_x,-t_y,-t_z)
2. Rotation:
R(theta )^-1=R(-theta )
3. Scaling:
S(s_x,s_y,s_z)^-1 = S(1/s_x, 1/s_y, 1/s_z)
4. To invert a transform about a point P:
T(P) M T(-P) -> T(-P) M^-1 T(P)
Define a fragment.
3d projection of a pixel, with same attributes as pixel.
Define pixel.
a 2d point on the display arranged in a grid
RGBA color
State the geometric pipeline.
When does the image go from still being 3d to the desired 2d state during the geometric pipeline?
After the fragment processor step. The image is now made of pixels rather than vertices and primitives.
What is the vertex processor step?
What are the coordinate transformations done during vertex processing?
World coords -> camera coords -> display coords
What is the clipper and primitive assembler step in geometric pipelines?
What is rasterisation?
What is fragment processing?
What are raster images?
Images made out of pixels.
What is a pinhole camera?
A camera which captures photographs in a similar manner to a human eye.
Define the camera model.
What is focal length?
Portion of the world the camera sees.
What is film plane?
Width and height of the image.
What are light sources defined by?
Location
Strength
Color
Directionality
What is used to denote scalars?
Greek letters: 𝛼, 𝛽, 𝛾, …
What is used to denote points?
Uppercase letters: P, Q, R, …
What is used to denote vectors?
Lowercase letters: u, v, w, …