Hello again! :)
Looks like I am having some multi-threading issues with my application but to
be honest I am not sure what is going on.
Initialy, I though that the problem had something to do with the fact I load my
model in a separate thread and then I add it to the scene from the main thread
Hello there OSGers! :)
Apologies if what I am asking here is already answered in some other thread of
this forum, but I couldn't find everything I was looking for.
I have some questions regarding multi-threading and run-time scene-graph
hierarchy changes.
What is the right/safe way to change
On 10/6/2011 6:17 AM, George Bekos wrote:
Add/remove them just before you call viewer::frame() or using some
UpdateCallback?
Either should be fine.
If I understand correctly, the rendering threads of OSG are called
continuously after you realize the viewer. Even if you are not calling
Thank you for the quick response my friend!
Can I also assume that after viewer::frame() returns, it is guaranteed that no
OSG threads related to rendering or scene traversal are running?
Can I ask what is the use of viewer::start/stopThreading() then?
Thanks a lot!
Cheers,
George
Hi George,
Can I also assume that after viewer::frame() returns, it is guaranteed that no
OSG threads related to rendering or scene traversal are running?
Rendering : no you can't assume this.
Scene traversal : yes you can assume this.
The explanation:
In some multithreading modes (see
Thanks so much guys. I think I have a much better understanding now.
Thanks a lot!
Cheers,
George
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43234#43234
___
osg-users mailing list
6 matches
Mail list logo