Explanation of glOrthof()
I don't understand the function glOrthof(). I have seen posts over the web about it, but I still don't get it. Can someone explain as simply as they can how glOrthof() works?
Re: Explanation of glOrthof()
The best discussion of this subject on the web is at:
I recommend that you do not worry about how the math works for glOrtho. The important thing is how to use it. Use it to define the 3D clipping boundaries for your rendering. This is called the Viewing Volume or Frustum. With glOrtho, your frustum will have a simple box shape (an orthographic projection), as opposed to using glFrustum or gluPerspective which are used to create Frustums with the typical pyramid shape (perspective projections).
Good Luck, Clay