Hi all
Thanks a lot for your good comments about SphericalManipulator. I was wondering 
if I have missed here for a long time, since there were lots of new posts, but 
then I saw that most of them are posted at 19th May.
Thanks Robert for his good article from Wikipedia which mentions the name of 
manipulator.
As I mentioned previously, I've never used TerrainManipulator, so I can't 
answer the questions about similarity between SphericaManipulator and 
TerrainManipulator correctly. I just needed some modifications in the standard 
TrackballManipulator and that was why I modified it to create a new one.
About the members of enum RotationMode, as you can see this enum has four 
members:

The first one is MODE_3D, which is the default rotation mode. In this mode, 
user can use mouse to rotate scene around the center freely. Horizontal 
movement of mouse changes the azimuth angle and vertical movement changes the 
zenith angle.


The second mode is MODE_3D_HORIZONTAL. In this mode, it is only possible to 
change the value of azimuth angle, so vertical movement of mouse has no effect 
and zenith angle remains unchanged.


The third mode is MODE_3D_VERTICAL. In this mode, it is only possible to change 
the value of zenith angle, so horizontal movement of mouse has no effect and 
azimuth angle remains unchanged.


The fourth mode is MODE_2D. In this mode, we watch the scene towards the -Z 
direction. So the zenith angle is always zero and it is only possible to change 
the value of azimuth angle. In this mode rotating mouse around the center of 
view changes zimuth angle.


Thank you!

Cheers,
Mojtaba
[/list]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12514#12514





_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to