Deriving a Natural Viewing Transform

As discussed before, we will compute the rotation part of the viewing transformation first. Fortunately, we know some things about the rotation matrix that we are looking for.

For instance, consider a vector along the look-at direction:

After normalizing it
We expect our desired rotation matrix to map it to the vector [0, 0, -1]T (Why?).
Lecture 11   Slide 7   6.837 Fall '00