Complete the following problems and submit your solutions to the HW3
assignment on Canvas. For all questions, justify your
answers either or showing your work or giving a brief
explanation. Please typeset your solutions using latex
or
similar (you can find the Markdown-plus-latex source for this document
here). You may work with your classmates on these
problems, but you must write up your own solutions individually
without using notes or photos made during your
collaborative discussions.
\[ \begin{bmatrix} A_{2x2} & \vec{t}_{2x1} \\ 0_{1x2} & 1_{1x1} \end{bmatrix} \begin{bmatrix} \vec{p}_{2x1}\\ 1 \end{bmatrix} \] Show that composing these 3x3 transformations still works via matrix multiplication. In other words, show that the following operation (I’ve dropped the subscripts, but the block structure is the same as above): \[ \left( \begin{bmatrix} A & \vec{t} \\ 0 & 1 \end{bmatrix} \begin{bmatrix} B & \vec{s} \\ 0 & 1 \end{bmatrix} \right) \begin{bmatrix} \vec{p}\\ 1 \end{bmatrix} \]
gives the same result as
\[ A\left(B\vec{p} + \vec{s}\right) + \vec{t} \]
Give a 2D affine transformation matrix that stretches an object by a factor of two along the direction \(30^\circ\) counter-clockwise from the \(x\) axis. Feel free to use software to form and multiply your matrices, but if you’re composing multiple transformations, please write out each component as well as the final combined matrix.
Give a matrix that transforms the normals of a 3D shape that is sheared in the \(y\) dimension only, such that \(y' = y + 2x\). Again, give your answer as a matrix of numbers, but feel free to use software to compute it.
In this problem, we’ll build the Model and Camera matrices necessary to make a wireframe rendering of a skyscraper. Feel free to use software to compute and/or check your matrix math. Be sure to clearly denote each component matrix.
You may recall from linear algebra that the identity matrix maps points to themselves. For points in \(\mathbb{R}^4\), the identity matrix is a 4x4 matrix with ones on the diagonal and zeros everywhere else. Although our 3D projective transformations are also represented by 4x4 matrices, they actually represent functions on a different mathematical space (appropriately, it’s called projective space). For points in 3D projective space (i.e., 3D homogeneous coordinates - \([x,y,z,w]^T\)), there are actually many matrices that map points to themselves. Describe the form of all possible identity matrices on 3D homogeneous coordinates. Hint: different 4-vectors that normalize to the same point all represent the same mathematical object in 3D projective space.