Hi
I'am really new at this, but i'am trying to figure out how things work.
I have made a small world with some geometric objects in it. Now i wanna
navigate freely in it with my keyboard. So if i first use glTranslate()
wich moves the coordinate system origin to the point specified by x,y,z
(the viewer are located in x,y,z, so he is always standing in the origin)
and after that do a glRotate() everything should be fine, the problems is
that it always rotate about the "old" origin and not about the origin i have
"defined" in glTranslate. I could offcourse first do a glRotate() and then a
glTranslate() but if i then turn 180 degres the forwardbutton become a
backwardbutton (and so it should do to). My first guess is that there is
some lack of understanding from my side.How should i do?



How should i do?

, one eternity for love [img]/forum/images/%%GRAEMLIN_URL%%/smile.gif[/img]