









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Images taken from Hearn & Baker, “Computer Graphics with OpenGL” (2004) Docsity.com
prp
prp
prp
z’ equation for u:
prp
vp
Perspective Projection Transformation Matrix
h
x x (^) vp = h h
y y (^) vp = h
h = zprp − z Docsity.com
Perspective Projection Transformation Matrix (cont…)
x x z z x z z
h prp vp prp vp
h prp vp prp vp = − + −
= − + −
Perspective Projection Transformation Matrix (cont…)
and yh is straightforward
the homogeneous parameter h
but it means extra parameters (sz and t (^) z) are added to the matrix
Perspective Projection Transformation Matrix (cont…)
−
− −
− −
=
prp
z z
prp vp prp prp prp
prp vp prp prp prp
pers
z
s t
z z y y z
z z x x z
M
0 0 1
0 0
0
0
Setting Up A Perspective Projection (cont…)
Images taken from Hearn & Baker, “Computer Graphics with OpenGL” (2004)^ Field of view Docsity.com
Setting Up A Perspective Projection (cont…)
Images taken from Hearn & Baker, “Computer Graphics with OpenGL” (2004) Docsity.com
Setting Up A Perspective Projection (cont…)