

























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!


























Computer Graphics Projection
n Projection center n Projection plane
projection plane
camera
x
y z
y z θ
field of view (view angle)
center of projection
x
y z
Near plane (^) Far plane
n Set the matrix mode to GL_PROJECTION n Perspective projection: use
x
y z
y z fovy eye Aspect = w / h near far
w h
x
y z
left
bottom right
top
near (^) far
x
y z x
y z
Perspective: gluPerspective() Parallel: glOrtho()
n Xp = x n Yp = y n Zp = -d
x
y z (x,y,z)
(Xp, Yp)