[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 03:31:19 PDT 2007


Sorry typo, there is *no* new mechanism in osgViewer to do what you want.

On 10/16/07, Tobias Münch <muench.tobias at googlemail.com> wrote:
> Hello Robert,
>
> Thank you for your response, but there are still some things unclear. In
> which version of OSG this new functionality is included? I'm working with
> OSG 2.0.
>
> Is this new functionality accessible directly through a viewer or view
> object or by a CamaeraManipulator object assigned to a view?
>
> Best regards, Tobias
>
>
> On 10/16/07, Robert Osfield <robert.osfield at gmail.com> wrote:
> >
> > 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.
> >
> > Robert.
> >
> > 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
> > >
> > >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
>
>
> _______________________________________________
> 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