About Manipulating the View ...
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
''do the rotate ie
glrotatef 90,0,0
''then translate
translatef 0,0,10 ''or -10 I didn''t test it
-Jamie
glrotatef 90,0,0
''then translate
translatef 0,0,10 ''or -10 I didn''t test it
-Jamie
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement