Answered step by step
Verified Expert Solution
Link Copied!

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 9.
(a) Give the projection matrix that results from a vertical field of view of 50, an aspect ratio of 2.0, a near clipping plane of 1 and far clipping plane of 10.
Hint: consider that the field-of-view and the near clipping plane together create a right triangle. You can then use SOH-CAH-TOA to find the value of t.
Once you know t, aspect ratio gives you r.
(b) To make sure you did this correctly, take the point (0,0,-5.5). If you multiply this point by your projection matrix, and then do perspective divide, you should get (0,0,0), right? Indeed, z=-5.5 is halfway between your near clipping plane and far clipping plane and therefore should be mapped to z=0? No, if you notice your entry in the projection matrix gives a nonlinear mapping. You'll get something close to 9/11-
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions

Question

What flexibility is there on completion date?

Answered: 1 week ago

Question

How do you think these files can be used for data analysis?

Answered: 1 week ago

Question

How else would you analyze purchase transactions?

Answered: 1 week ago

Question

How many files are in the Current File?

Answered: 1 week ago