Results 1 to 2 of 2

Thread: Explanation of glOrthof()

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    1

    Explanation of glOrthof()

    Hello,

    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?

    Thanks!

  2. #2
    Member
    Join Date
    Jun 2012
    Location
    Texas
    Posts
    61

    Re: Explanation of glOrthof()

    The best discussion of this subject on the web is at:

    http://www.glprogramming.com/red/chapter03.html

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •