Hi Steganie, The osgcompositeviewer example in the default usage sets up three views that all share the same window so have a look at this. Try osgcompositeviewer cow.osg.
The key is simply to create a GraphicsWindow than assign this to each View's Camera, the viewer will do the rest of the setup for you. Robert. On Fri, Jul 23, 2010 at 7:03 PM, Stefanie Hoepner <[email protected]> wrote: > Hi, > > I am trying to figure out how I can get two viewports in one window to show 2 > different osg scenes, videos in particular. I tried the CompositeViewer, but > it gives me two separate windows. I would like one window splitted in the > middle, the right side showing one video and the left side showing the other > video. > > So, my question is, can I either make the CompositeViewer show the 2 scenes > in one and the same window or can I set the Viewer to have two viewports? Or > do you have any other idea how to do this? > > Thank you very much for any hints! > > Stefanie > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=30220#30220 > > > > > > _______________________________________________ > 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

