Hi Paul,

On Mon, Nov 24, 2008 at 3:57 PM,  <[EMAIL PROTECTED]> wrote:
> Using CullDrawThreadPerContext and it works..
>
> If the problem is with stateset and Drawable not being set to DYNAMIC, why 
> wouldn't my SetDataVariance NodeVisitor (see below) convert everything to 
> DYNAMIC. I call this during my initialization of the scene graph.

Your visitor shouldn't use getOrCreateStateSet as this will be
creating a StateSet on all nodes and drawables.  Use getStateSet and
an if statement to protect.

As to why it doesn't seem to fix the threading problem you have.
We'll I can't help you here.  You have to debug your app, as I don't
have it in front of me, and I have plenty of work to do myself.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to