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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!