Language:EN
Pages: 2
Rating : ⭐⭐⭐⭐⭐
Price: $10.99
Page 1 Preview
get dividing out the also called the reciprocal di

Get dividing out the also called the reciprocal divide

222 Chapter 5 Viewing and Projection

By similar triangles (both have the same angles), we get

yndc yv
d =−zv
yndc =dyvzv
axndc xv
d =−zv

Solving for xndc:

xndc =dxvazv

So our final projection transformation equations are

Recall that to transform from RP3to R3we need to divide the other coordi-nates by the w value. If we can set up our matrix to map −zv to our w value, we can take advantage of the homogeneous divide to handle the nonlinear part of our transformation. We can write the situation before the homogeneous divide as a series of linear equations:

x′=d a x
y′= dy
z′= dz
w′= −z

Let’s see how this matrix works in practice. If we multiply it by a generic point in view space, we get




d/a 0 0 0   xv
 dxv/a
0 d 0 0 yv dyv
0 0 d 0 zv dzv
0 0 −1 0 1 zv
xndc =dxvazv

You are viewing 1/3rd of the document.Purchase the document to get full access instantly

Immediately available after payment
Both online and downloadable
No strings attached
How It Works
Login account
Login Your Account
Place in cart
Add to Cart
send in the money
Make payment
Document download
Download File
img

Uploaded by : John Rasmussen

PageId: DOCC1C30B9