| 25 | | Windows are created for each [http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01207.html GraphicsContext] created. When using some of helper funcions for osgView::View, such as setUpViewAcrossAllScreens(), setUpViewOnSingleScreen(), or setUpViewInWindow(), the graphics context with a new window will be created for each call. Therefore, using some combination of these calls with a !CompositeViewer with multiple Views would produce multiple windows. If one did not want multiple windows or maybe didn't want window decorations, one can setup the [http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01210.html Traits] themselves. A single window with multiple views can be achieved by setting Traits::sharedContext to a previously created context. And, the decorations can be turned of with Traits::windowDecoration set to false. |
| | 25 | Windows are created for each [http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01207.html GraphicsContext] created. When using some of helper funcions for osgView::View, such as setUpViewAcrossAllScreens(), setUpViewOnSingleScreen(), or setUpViewInWindow(), the graphics context with a new window will be created for each call. Therefore, using some combination of these calls with a !CompositeViewer with multiple Views would produce multiple windows. If one did not want multiple windows or maybe didn't want window decorations, one can setup the [http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00279.html Traits] themselves. A single window with multiple views can be achieved by setting Traits::sharedContext to a previously created context. And, the decorations can be turned of with Traits::windowDecoration set to false. |