Hi Guy, It could simple be the you arn't managing the contextID for each graphics context. See the OSG's FAQ.
I'd also recommend look at the 1.9.x series of the OSG, and the new osgViewer library that replaces osgProducer. There is a viewer class called CompositeViewer which is specifically designed to help you manage multiple views in a single application. Robert. On 5/17/07, Guy Lifchitz <[EMAIL PROTECTED]> wrote:
Hi, I tried to set two cameras in the scene. For simplicity I created two rendering surfaces, two SceneView and shared the data between them. in the main loop I made the first rendering surface active, updated culled and drawed the first scene, and then done the same to the same with the second rendering surface and scene view. When I share the data between both SceneView, only the first scene is drawn correctly. When each has it's own data everything seems to be fine, but I would like to share the data :) Anyway, I implemented the same using osgProducer::Viewer with CameraConfig of two cameras but I prefer the first implementation for it's simplicity. So what am I missing? looking inside the implementation of the Producer::CameraGroup didn't reveal to me where was I wrong. thanks, Guy. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
