Hi again,

I just noticed that what I need to achieve is actually quite simple: the 
dynamicObjectRenderingCompletedCallback needs to be called from the culling 
thread, rather than the drawing thread. This would ensure the next frame can 
commence when the culling phase has ended, rather than commencing when the last 
camera starts drawing.

Then I read the OSG code again, and noticed that precisely the same idea *is* 
already in the OSG, but it's commented out. See: 
https://github.com/openscenegraph/osg/blob/master/src/osgViewer/Renderer.cpp#L641

I don't know why it's commented out, the svn history doesn't give any 
indication.

I will try enabling that code and if it works, post to osg-submissions.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64015#64015





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

Reply via email to