Re: [osg-users] Using osgViewer::Viewer with independant slave cameras

2011-10-12 Thread Carsten Scharfe
Users Subject: Re: [osg-users] Using osgViewer::Viewer with independant slave cameras Hi Carsten, On Mon, Oct 10, 2011 at 3:32 PM, Carsten Scharfe cscha...@dspace.de wrote: Any idea on how I could convince each view of a composite viewer to share the graphics context? CompositeViewer works

[osg-users] Using osgViewer::Viewer with independant slave cameras

2011-10-10 Thread Carsten Scharfe
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,

Re: [osg-users] Using osgViewer::Viewer with independant slave cameras

2011-10-10 Thread Robert Osfield
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 cscha...@dspace.de wrote: Hi! I’ve search the archives, but could

Re: [osg-users] Using osgViewer::Viewer with independant slave cameras

2011-10-10 Thread Carsten Scharfe
Sent: Monday, October 10, 2011 4:19 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Using osgViewer::Viewer with independant slave cameras 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

Re: [osg-users] Using osgViewer::Viewer with independant slave cameras

2011-10-10 Thread Robert Osfield
Hi Carsten, On Mon, Oct 10, 2011 at 3:32 PM, Carsten Scharfe cscha...@dspace.de wrote: Any idea on how I could convince each view of a composite viewer to share the graphics context? CompositeViewer works just fine with a sharing a context between all views. The osgcompositeviewer does