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 - Questions

  1. #1
    Intern Newbie
    Join Date
    Mar 2011
    Posts
    48

    gluLookAt - Questions

    Hi everyone.

    Just got texturing working and i've noticed that as i move the camera the textures are also moving and i don't want that.

    I was wondering when and how i should call the gluLookAt

    Do i draw my scene and then call it?

    Also do I Need to be in a certain mood?

    Is there are common reason the texture would be rotating with the camera?

    Thanks.

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: gluLookAt - Questions

    It depends how you apply texture coordinates.
    Do you use glTexGen* calls, etc ? How exactly do you define the association between a vertex and a point on the texture ?

  3. #3
    Intern Newbie
    Join Date
    Mar 2011
    Posts
    48

    Re: gluLookAt - Questions

    Hey i've looked over the code and found the mistake. Sorry about taking up any of your time ZbuffeR and thanks for the help!

Posting Permissions

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