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

Reply via email to