Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: gluLookAt() source code.

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    Spain
    Posts
    1

    gluLookAt() source code.

    Hi:

    I have an OpenGL app working which uses only one GLUT function: gluLookAt(). Since the OpenGL Reference says: "This function only encapsulates a series of glTranslate() and glRotate() calls", I have tried to write my own function to avoid loading a .dll just for that. I haven't succeeded yet. Could someone help? Are there any public sources for this (and other GLUT) functions?
    Thank you.
    Jacques.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    133

    Re: gluLookAt() source code.

    I have an OpenGL app working which uses only one GLUT function: gluLookAt().

    Hey dude,

    Note : GLU - LookAt(). That's not glut,
    thats the GLU library. The source is
    available in various forms on various platforms. Search Google.
    --
    Jim Mathies http://www.mathies.com/

    \"The best way to predict the future is to invent it."

  3. #3
    Junior Member Regular Contributor
    Join Date
    Nov 2001
    Location
    Malaysia
    Posts
    112

    Re: gluLookAt() source code.

    Originally posted by jacquesbas:
    Hi:

    I have an OpenGL app working which uses only one GLUT function: gluLookAt(). Since the OpenGL Reference says: "This function only encapsulates a series of glTranslate() and glRotate() calls", I have tried to write my own function to avoid loading a .dll just for that. I haven't succeeded yet. Could someone help? Are there any public sources for this (and other GLUT) functions?
    Thank you.
    Jacques.
    ftp://oss.sgi.com/projects/ogl-sample/download/

    Actually it's not "This function only encapsulates a series of glTranslate() and glRotate() calls", you need some calculations
    and there's just one glMultMatrixf function
    and one glTranslatef function.

Posting Permissions

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