Question: Our goal is to create a perspective projection matrix. Recall its definition given in Lecture 9 . ( a ) Give the projection matrix that
Our goal is to create a perspective projection matrix. Recall its definition given in Lecture
a Give the projection matrix that results from a vertical field of view of an aspect ratio of a near clipping plane of and far clipping plane of
Hint: consider that the fieldofview and the near clipping plane together create a right triangle. You can then use SOHCAHTOA to find the value of
Once you know aspect ratio gives you
b To make sure you did this correctly, take the point If you multiply this point by your projection matrix, and then do perspective divide, you should get right? Indeed, is halfway between your near clipping plane and far clipping plane and therefore should be mapped to No if you notice your entry in the projection matrix gives a nonlinear mapping. You'll get something close to
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
