Vinay Shah wrote:
Hello,
I'm getting a segmentation fault in Group::traverse() and have no idea how to even start debugging this. The stack trace looks like this:
Hi, Vinay,
The stack trace is a good start, but we're going to need to know a bit
more about how your app works before we can help.
You said you have a thread that "creates the scene graph". What does
this mean, exactly?
When you say you've got 4 camera threads that render the scene, does
this just mean you've got 4 slave cameras attached to your viewer, or
are you doing something else?
The general rule is that you can't alter the scene while it's being
rendered in another thread. This means that you either do all of your
scene changes in update callbacks, or you set up your own rendering loop
that looks something like this:
while (!viewer.done())
{
// Your code here
viewer.frame();
}
--"J"
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org