Robert thanks and sorry for the confusing questions (I have mixed two applications)
I try to explain my 2. question again : I use the trackballmanipulator in one view and only picking in another view (topview); but when I switch off the topview (topView->getCamera()->setNodeMask (0x0);), I don't have trackball functionality in the area of this view (upper right part of the window) Dieter -----Original Message----- From: [email protected] [mailto:[email protected]]on Behalf Of Robert Osfield Sent: Friday, 20 February, 2009 11:57 To: OpenSceneGraph Users Subject: Re: [osg-users] picking / trackball question - compositeviewer Hi Dieter, Your use mixing of the use of views and master and slaves is rather confusing. The osgViewer approach is to separate both the implementation and concept of View and Cameras, this is done to keep clear what class does what, and when to use to different configuration. A single View "has a" master Camera, and a list of zero or more slave Camera. There is no such thing as a master View, or slave View, only master Camera and slave Camera within a single View. A single View is controlled by single CameraManipulator which controls the master Camera, the slave Camera's within this view are then sync'd relative to the master Camera on each frame. An osgViewer::Viewer "is a" View, so has one master, and the ability to have zero or more slave Camera, and only has a single CameraManipulator. This keeps the Viewer class quite straight forward, yet still have the capability of doing power walls etc. An osgViewer::CompositeViewer "has a" list of View, each View has it's own master Camera, it's own slaves, it own CameraManipulator. At your end you need to decide what type of viewer configuration you need. If it's just a single conceptual view then use Viewer, even if you require an advanced display configuration as the slave cameras can handle this. If you have multiple conceptual views (i.e. the view that two different viewpoints on the scene or two different scenes) then use CompositeViewer. Robert. On Fri, Feb 20, 2009 at 10:39 AM, Dieter Pfeffer <[email protected]> wrote: > Hi > > I have 2 questions concerning multiple views with compositeviewer > > 1. when I have three views (1 master and two slaves) - is it possible to > have the Trackballmanipulator over all three views (now I have the trackball > only in the master view) ? > > 2. in another configuration I use the trackballmanipulator in the master > view and only picking in a slave view (see the attached image - picking in > the top view); but when I switch off the slave view (topview), I don't have > trackball functionality in the area of this view (upper right part of the > window) > > > Thanks > > Dieter > > > > Unclassified Mail > > > -------------------------------------------------------------------------- ---------------------------------- > Disclaimer: > > If you are not the intended recipient of this email, please notify the > sender and delete it. > Any unauthorized copying, disclosure or distribution of this email or its > attachment(s) is forbidden. > Thales Nederland BV will not accept liability for any damage caused by this > email or its attachment(s). > Thales Nederland BV is seated in Hengelo and is registered at the Chamber of > Commerce under number 06061578. > -------------------------------------------------------------------------- ---------------------------------- > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ------------------------------------------------------------------------------------------------------------ Disclaimer: If you are not the intended recipient of this email, please notify the sender and delete it. Any unauthorized copying, disclosure or distribution of this email or its attachment(s) is forbidden. Thales Nederland BV will not accept liability for any damage caused by this email or its attachment(s). Thales Nederland BV is seated in Hengelo and is registered at the Chamber of Commerce under number 06061578. ------------------------------------------------------------------------------------------------------------ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

