> 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.
Tes, that's what I thought. I'm just grasping at straws here, on the off chance that the threading models and CompositeViewer are doing something I'm not aware of. I am out of ideas as to why osgthirdpersonview would cause these issues to occur, while other CompositeViewer-based apps run fine. This is up to Paul Melis to debug. -Paul _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org