Hi Frans, Have a look on the FAQ for using multiple graphics contexts. You basically need to manage the osg::Sate ContextID. Please also search the mailing list for this topic, alot has been said including recently on this topic.
Robert On 8/9/06, Frans Fürst <[EMAIL PROTECTED]> wrote:
Hi there, in a class method I create a scene and in another method of the same class I render the scene to an image (through a pbuffer adressed by an osgUtil::SceneView) . Everything works well until I start a osgProducer::Viewer showing the same scene. The Viewer will render the scene correctly but in the pbuffer-image there will some objects be missing then. The rest will be rendered correctly. Using a semaphor locking the scene while rendering makes no difference. Have I possibly messed with ref-pointers? Or what is the mistake I made most likely? thx, Frans _______________________________________________ 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/
