Hi Robert,
I use two way to modify my scene graph.
The first one is using the UpdateCallback each time it is possible.
The second one is when we are outside the ViewerBase::frame() function.
Our application have a lot of threads and i use a mutex to be sure the OSG
tree is never
Hi Sylvain,
n 22 April 2014 14:30, Sylvain Comtois sylvain.comt...@gel.ulaval.ca wrote:
Hi Robert,
I use two way to modify my scene graph.
The first one is using the UpdateCallback each time it is possible.
The second one is when we are outside the ViewerBase::frame() function.
Hi Sylvain,
The threading support in osgViewer doesn't include modifying the
viewer and scene graph at the same time as cull. You should modify
scene graph objects during update, or event traversals - basically any
time outside of when viewer::renderingTraversals() are running.
Robert.
On 22
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
4 matches
Mail list logo