Hi Nick,
How are you removing the view? From an event handler from within the
view? If so then this will crash as you'll be deleting the object you
are doing the work from.
The right way remove a view is outside of frame().
Robert.
On Wed, Dec 23, 2009 at 12:56 PM, Trajce Nikolov
Hi Robert,
now I did it outside frame. Id doesnt crash anymore ... but, it hangs at
_endDynamicDrawBlock-block();
void ViewerBase::renderingTraversals()
after view removal
I have composite viewer
with
setThreadingModel(osgViewer::CompositeViewer::CullThreadPerCameraDrawThreadPerContext);
any
Hi Nick,
Try calling stopThreading() before you remove the view, and
startThreading() after you've done it.
Robert.
On Wed, Dec 23, 2009 at 3:46 PM, Trajce Nikolov
nikolov.tra...@gmail.com wrote:
Hi Robert,
now I did it outside frame. Id doesnt crash anymore ... but, it hangs at
Hi Robert,
now it hangs at
// dispatch the rendering threads
if (_startRenderingBarrier.valid()) _startRenderingBarrier-block();
the same method
Nick
http://www.linkedin.com/in/tnick
Sent from Istanbul, 34, Turkey
On Wed, Dec 23, 2009 at 6:04 PM, Robert Osfield
HI Nick,
On Wed, Dec 23, 2009 at 4:27 PM, Trajce Nikolov
nikolov.tra...@gmail.com wrote:
Hi Robert,
now it hangs at
// dispatch the rendering threads
if (_startRenderingBarrier.valid()) _startRenderingBarrier-block();
the same method
Is this during the the stopThreading() call? After?
here is the code snippet
mLib-getViewer()-stopThreading();
mLib-getViewer()-removeView(view);
mLib-getViewer()-startThreading();
it is called before viewer-frame()
let me investigate this a bit more. I tried to reproduce the problem with
osgcompositeviewer example, but there is works
Nick
I figured out the conditions.
In the scene, I have a model that has cameras (pre-render) attached to some
portion of the models via textures. When I load that model, then it hangs.
Without this model, everything looks just fine
Nick
http://www.linkedin.com/in/tnick
On Wed, Dec 23, 2009 at
I had to setSceneData(0) before removing the view to make it work,. If you
areintersted I can put a sample test case reproducing the problem
Nick
http://www.linkedin.com/in/tnick
On Wed, Dec 23, 2009 at 8:47 PM, Trajce Nikolov nikolov.tra...@gmail.comwrote:
I figured out the conditions.
In
8 matches
Mail list logo