View Full Version : glOrtho vs. glFrustrum

10-29-2000, 11:10 AM
Even though I own the "Red Book" and have read the description of the two thoroughly, I still have trouble deciding which to use for which circumstances.

Can anyone help me out?

10-29-2000, 03:19 PM
Ortho creates a parallel projection - IE one with NO perspective effects. Thats useful for CAD, undistorted views of elevations, that kinda thing.

Frustrum creates, err, a frustrum - like a pyramid on its side with the end chopped off. That's what you'd use when you wanted a perspective effect.

gluPerspective wraps up glFrustrum nicely...