Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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