Advertisement

About Manipulating the View ...

Started by August 12, 2000 08:13 PM
1 comment, last by mesHead 24 years, 3 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
''do the rotate ie
glrotatef 90,0,0
''then translate
translatef 0,0,10 ''or -10 I didn''t test it

-Jamie
Advertisement
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