CompositeViewer support: Difference between revisions

Jump to navigation Jump to search
Line 217: Line 217:
* CompositeViewer and Viewer share much of their implementation, the only key difference is that Viewer "is a" View, while CompositeViewer has a list of Views.  All the event handling, camera manipulator and scene graph setting is done a the View level so has identical API to access. <ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg17372.html</ref>
* CompositeViewer and Viewer share much of their implementation, the only key difference is that Viewer "is a" View, while CompositeViewer has a list of Views.  All the event handling, camera manipulator and scene graph setting is done a the View level so has identical API to access. <ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg17372.html</ref>
=== Views ===
=== Views ===
The OSG is design to allow you to rendering multiple views at once,
The OSG is designed to allow you to rendering multiple views at once,
there is no need to clone the scene graph, you simply add another View
there is no need to clone the scene graph, you simply add another View
to a CompositeView to add the extra rendering.  You can toggle
to a CompositeView to add the extra rendering.  You can toggle

Navigation menu