Hi, JP

Thanks for your advice. I have tried setHome() befor, and this funtion just set 
the default view position for the corresponding MatrixManipulator. Here my 
problem is that: when I hit the button to switch the 2 MatrixManipulator, if I 
switch the trackball to the manipulator that I defined my myself, and the view 
position is no problem; while if I switch the manipulator that I defined myself 
to the trackball, the view position is not the position like the position when 
the application initialed(in other word: the defalut view position of trackball 
manipulator), here if I hit the spacebar(the default key to let the view point 
to Home position), and the view position will come back to the "Home"position, 
which defined by the "setHome()".

All in all, my question is: when I switching the other Manipulator that I 
defined myself to trackball, How to let the view point automatically come back 
to the default position ( the position is like the application initiated 
position)?

Any help would be appreciated.

Thank you very much!

Cheers,
Shiina

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to