🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

About Manipulating the View ...

Started by
1 comment, last by mesHead 23 years, 10 months ago
Hi. I was wondering if anyone could answer this question for me. Say I draw a three dimensional cube with the very center of the cube being the origin (0,0) Ok, now how could I get it so that the user's view ( NOT the cube itself ) moves up and rotates downward so that the user is now looking at the top-side of the cube. Thanks in advance to anyone who responds. Edited by - mesHead on 8/12/00 8:13:51 PM
mesHead
Advertisement
''do the rotate ie
glrotatef 90,0,0
''then translate
translatef 0,0,10 ''or -10 I didn''t test it

-Jamie
To move the "Camera" back you move the world forward and to move the "Camera" forward you move the world back.
To move the "Camera" Left you move the world right and to move the "Camera" Right you move the world Left.

This topic is closed to new replies.

Advertisement