gluLookAt

Started by
4 comments, last by Simoyd_ 20 years, 8 months ago
i cant get it to move my camera anywhere =\ is there something i need to stick in my initialization to make it work (i can get it to work fine when i edit tutorial programs)
Advertisement
No, you don''t have to init something for gluLookAt (beside OpenGL of course... :-)
Maybe you use gluLookAt before using glLoadIdentity() ??

Otherwise pls post some code

Corrail
corrail@gmx.at
ICQ#59184081
--------------------------------------------------------There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.There is another theory which states that this has already happened...
aww crap. i do glLoadIdentity(); b4 i draw each object so i can translate properly to each object thx for the info =how would i bets draw all my objects then? translate back to 0,0,0 manually? cause my objects need to be rotated so i need to translate to them

[edited by - Simoyd_ on July 28, 2003 4:17:18 PM]
I was under the impression that glPopMatrix would return you to the origin. I think thats right, hmm....
hmm, im not drawing ising matricies... maybe i should be lol
/me goes to look it up
i got it now thx alot

This topic is closed to new replies.

Advertisement