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?


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 ?

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!