Question: 7. The up vector s we are given need not be orthogonal to n, so we cannot use it as our image's up vector v.

7. The up vector s we are given need not be orthogonal to n, so we cannot use it as our image's up vector v. Instead, we must first compute u^ orthogonal to n and s. Then, we can compute v^ from n and u^. Both u^ and v^ should be normalized. If we are standing at e and looking at c with s pointing roughly upwards, then u^ should be pointing to the right, and v^ should be pointing upwards. Make sure you check that these two vectors point in the correct direction. Don't worry about their length yet. 8. Next, we scale u^ to u and v^ to v so that u=wp and v=hp. In this way, adding u causes us to move right one pixel, and adding v causes us to move up one pixel. 9. Find the bottom left corner p
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
