Thank you Robert, that you sorted that out for me. I have been googling around and have got both answers, use Viewer or use CompositeViewer. I hope I'll get it work soon, now only a black screen.
Kind regards Patrik On Tue, Apr 29, 2014 at 3:24 PM, Robert Osfield <[email protected]>wrote: > Hi Patrick, > > On 29 April 2014 14:02, Patrik Andersson <[email protected]> > wrote: > > I thought if you had one scene with multiple-views one should use the > > Viewer-class... > > The design of osgViewer::CompositeViewer is that all Views can have > their own or share a scene graph. > > The osgViewer::Viewer class represents a single View of a single scene > graph. It's API is simpler for single view applicatons, but trying to > make it work like CompositeViewer and handle multiple Views is far > harder to manage and you quite easily just get into a right mess. > > It's far simpler and easier to maintain using the CompositeViewer as > it's whole reason for it's existence is to make managing multiple > Views as easy as possible. > > Robert. > _______________________________________________ > 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

