View Full Version : gluLookAt - Questions

03-20-2011, 10:00 PM
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?


03-21-2011, 03:04 AM
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 ?

03-21-2011, 05:11 AM
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!