Hi,

    First, my program work without any problem when the threading model is 
configure to single thread and i use  one master camera and tree slaves cameras 
on a multiprocessor computer.

   When i call the method Viewer::setLightingMode of my viewer, osg crash when 
the method osgViewer::Renderer::cull is call by the threading engine.

    The crash occur in the following method sequence:

...
osg100-osgd.dll!osg::StateSet::setModeToInherit
osg100-osgd.dll!osg::StateSet::removeMode
osg100-osgUtild.dll!osgUtil::SceneView::setLightingMode
osg100-osgUtild.dll!osgUtil::SceneView::inheritCullSettings
osg100-osgUtild.dll!osgUtil::SceneView::inheritCullSettings
osg100-osgViewerd.dll!osgViewer::Renderer::cull
osg100-osgViewerd.dll!osgViewer::Renderer::operator()   
osg100-osgd.dll!osg::OperationThread::run()ot13-openThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread

   Note that i have more then one thread that call the removeMode method in the 
same time when the error occure.

   I set the viewer data variance to DYNAMIC but when i debug the program, the 
SceneView data variance is still unspecified. I also set the data variance of 
each camera to DYNAMIC.

   Does i have to set the data variance of something else to DYNAMIC?

Thank you!

Cheers,
Sylvain

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=57398#57398





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

Reply via email to