Hi Alexandre,
something isn't right with the last thing I said, when creating a new osgViewer::View a main camera is created by default, so it's not possible to have 2 slave cameras only and no main camera, am I right ?
Of course, an osgViewer::View will always have a main camera. This is the camera that is used for user interaction, etc. But it does not render anything, only the two slaves have GraphicsContexts attached. Check it out, try view->getCamera()->getGraphicsContext(), you will get 0, but if you try it on both slaves you will get a valid GraphicsContext (it could be the same one).
So your goal of having only 2 cameras rendering will be met by this setup. The slave cameras render using view and projection matrix offsets from the master camera, and user interaction (say using a camera manipulator) moves the main camera's view matrix and thus affects the slaves indirectly.
Hope this clears things up, J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

