Hi Casten, If you have 4 independent views then you should use the CompositeViewer class. osgViewer::Viewer is for a single View. See the osgcomposite viewer example.
Robert. On Mon, Oct 10, 2011 at 2:37 PM, Carsten Scharfe <[email protected]> wrote: > Hi! > > I’ve search the archives, but could not find any posts on this topic. > > I want to setup a osgViewer::Viewer with 4 cameras, which can be controlled > independently from > the master camera, if the user click-drags in the corresponding viewport. > Creating the viewer and 4 slaves is not a problem, but to manipulate each > cam separately. > I have an implementation of my project with the composite viewer, which > works, but due to > some technical implications, I want to switch to a single viewer. > > I tried to set setAllowEventFocus(true) to the master and slave cams, but > that did not work. > > Can anybody give me a hint on how to setup the viewer correctly or point me > to an example > where this is done? > > Cheers, > Carsten > _________________________ > > Carsten Scharfe > Software Developer > Experiment Software ESIM > > dSPACE GmbH > Rathenaustraße 26 > 33102 Paderborn > Germany > > Tel.: +49 5251 1638-1920 > http://www.dspace.com > mailto:[email protected] > _________________________ > > > > > _______________________________________________ > 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

