Hi Paul,

On Tue, May 13, 2008 at 6:33 PM, Paul Martz <[EMAIL PROTECTED]> wrote:
> Hm. The code deletes one of the root node's children, and recreates it, each
>  frame. Try making this change:
>
>     osg::ref_ptr< osg::Group > root = new osg::Group;
>     root->setDataVariance( osg::Object::DYNAMIC );
>
>  (The first line is already in the code; please add the second line).

DataVariance of Nodes is only critical during the osgUtil::Optimizer
run, but right now
doesn't effect anything else - so the above change is not required,
and shouldn't affect
things.

DataVariance on StateSet and Drawables is important at during the
frame loop though.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to