Homework2
A reminder: you are free to collaborate, but you must understand and write up the final answers by yourself!
-
Show that perspective projection preserves lines.
Hint: the easiest argument to make is a geometric one using the 3D line, the center of projection, and the image plane. - For a 4×4 matrix whose top three rose are arbitrary and whose bottom row is (0,0,0,1), show that the points (x,y,z,1) and (hx,hy,hz,h) transform to the same point after homogenization.
- For the eye position e=(0,1,0), a look vector g=(0,−1,0), and an up vector t=(1,1,0), what is the resulting uvw basis used for coordinate rotations?