Hi Shayne, Craig,
Bottom line is that it can be done. It basically amounts to having asynchronous traversal of the same scenegraph, one for rendering traversal and the other for intersections. These traversals can either be done in different threads or different processes.
But the case of a different thread vs a different process is not the same. In his case, there will be (optimally) one copy of the scene graph, and both the rendering and the intersection thread will access it. He will need a mutex which would be held by the rendering thread while it's in the update phase, and by the intersection thread while it does an intersection. In your case, you have two copies of the scene graph, so there are no threading issues. (how did you update the scene graph between processes?)
But that doesn't mean it can't be done, just that it's not quite as simple as that.
Hope this helps, J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.dyndns-web.com/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

