On 7/25/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
I realise this is an unsual caveat of multi-threaded multi-context
work, but this its a small hurdle which gains you much better
performance - otherwise you have mutex commonly access methods which
would kill performance.

I forgot to mention the magic line is:

 osg::DisplaySettings::instance()->setMaxNumberOfGraphicsContexts(num)

osgProducer::OsgCameraGroup sets atomatically this for you in its
constructor, so as long as you construct it before loading the scene
graph then everything is fine.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to