Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: deference between projections and views in openGL?

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2009

    deference between projections and views in openGL?

    Hi everyone

    I want create a camera class but I don't know what use to see the porjection and rendering,and manipulate in my application. I seen that some tutorials, using, glFrustum() others use gluLookAt(), and the glViewport(), and others use the gluProject()

    what i need is view and navigate in the scene but also want that looks real for textures and alpha blends

    that works right for the camera

    i hope that can explain for what is each one

    thanks in advance

  2. #2
    Senior Member OpenGL Pro Aleksandar's Avatar
    Join Date
    Jul 2009

    Re: deference between projections and views in openGL?

    gluLookAt(), gluPerspective()/glFrustum() and glViewport() are commands that modify completely different parts of the 3D pipeline. gluProject() combines them all (but is not used for what you want).

    In order to avoid very long post, I would direct you to the following chapter from the Red book: Chapter 3 .

Posting Permissions

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