CompositeViewer support: Difference between revisions

Jump to navigation Jump to search
Line 79: Line 79:
osgViewer::View, again each of these View has a single master Camera,
osgViewer::View, again each of these View has a single master Camera,
and 0 or more slave Camera.<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg51806.html</ref>
and 0 or more slave Camera.<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg51806.html</ref>
The osgViewer:::CompositeViewer/Viewer architecture is designed to
support one frame loop driving all the windows associated with that
viewer, not multiple places trying to dispatch frame().  So you use a
single timer.  Or use multiple viewers.<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg19095.html</ref>


* As a general approach, if you want multiple View's which have their own or share Scene's then the appropriate class to use is CompositeViewer as it's written specifically for this purpose.<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg70958.html</ref>
* As a general approach, if you want multiple View's which have their own or share Scene's then the appropriate class to use is CompositeViewer as it's written specifically for this purpose.<ref>https://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg70958.html</ref>

Navigation menu