gluLookAt
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)
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
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]


[edited by - Simoyd_ on July 28, 2003 4:17:18 PM]
July 28, 2003 03:49 PM
I was under the impression that glPopMatrix would return you to the origin. I think thats right, hmm....
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement