[osg-users] how to find out which CameraMainpulator was used when having multiple views and manipulators

Robert Osfield robert.osfield at gmail.com
Tue Oct 16 01:45:01 PDT 2007

Hi Tobias,

There is new mechanism in the osgViewer for tracking what manipulators
were last updated.  You could do this yourself though by sublcassing
from the manipulators you want to use and adding some kind of shared
state object that keeps track of things.


On 10/15/07, Tobias Münch <muench.tobias at googlemail.com> wrote:
> Hello to all osg-users
> I have an application with several parallel views on one scene. Each view
> has it's own CameraManipulator (UfoManipulator). When one view is changed
> through user interaction by the manipulator, it should also have an effect
> on the other views. For realizing this, I need a feedback on each frame,
> which of the installed CameraManipulators in the several views was used for
> interaction. (Mostly the one manipulator is active on whose view the mouse
> cursor is placed.) Afterwards I can get the matrix of this one
> CameraManipulator and can calculate the influence on the other "inactive"
> views and manipulators.
> Is there allready a solution for this problem?
> regards, Tobias
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list