Answered step by step
Verified Expert Solution
Question
1 Approved Answer
4. In the figure, you are given the position of the camera (e), the location of the center of the image plane (c), an up
4. In the figure, you are given the position of the camera (e), the location of the center of the image plane (c), an up vector (s), and the width w of the image plane (in 3D space). You are also given the number of pixels in height and width (H,W) of the image. 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started