Hi Russel,

On 13 November 2017 at 23:45, Thamm, Russell
<russell.th...@dst.defence.gov.au> wrote:
> The viewer is single-threaded. Furthermore, I now make all modifications to
> the scene tree in the render thread (prerender) but I still get the
> occasional crash in the render thread:

If you are running the viewer SingleThreaded then there isn't a
dedicated rendering thread, there will by just the main application
thread doing update, event, rendering traversals (cull and draw
dispatch).

So are you running single threaded or multi-threaded?

Also why modify the scene graph in rendering traversal?

It's really hard to know what you are doing and why you are doing it.
The only thing I can get a strong impression is that you are doing
something in an odd way and getting a crash.

I would suggest taking a big step back from the problem and explain to
us what you are trying to achieve with updating the scene graph and we
can point you in the right direction of how to do it efficiently.

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

Reply via email to