Orbit Mode & Camera rotation
by Sylvain · in Technical Issues · 07/31/2007 (8:38 am) · 2 replies
Hi everyone !
After doing some reading, I've been able to use the orbit mode for the camera, but I've still a couple of questions/issues, one of these is :
for the moment I have the camera pointing at a particular object, but I would like it pointing the opposite direction. Mathematically speaking, this means rotating the camera 180 degrees around its local z axis - I believe.
Do you have any idea on how this could be done ?
Thanks !
Sylvain
After doing some reading, I've been able to use the orbit mode for the camera, but I've still a couple of questions/issues, one of these is :
for the moment I have the camera pointing at a particular object, but I would like it pointing the opposite direction. Mathematically speaking, this means rotating the camera 180 degrees around its local z axis - I believe.
Do you have any idea on how this could be done ?
Thanks !
Sylvain
About the author
#2
08/02/2007 (3:52 am)
All right, I found a way : in orbit mode, just need to use negative distances ! I tried that earlier, but it didn't work ... must have done something the wrong way !
Sylvain
I guess that I'll need to modify setFlyMode() in camera.cc ...
Do you know how I could do that (just ideas, not necessarily pieces of code !) ?