Archived

This topic is now archived and is closed to further replies.

Simoyd_

gluLookAt

Recommended Posts

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)

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
I was under the impression that glPopMatrix would return you to the origin. I think thats right, hmm....

Share this post


Link to post
Share on other sites