Because you also have to deal with subobject like proxy nodes and images that you want to have in the cache option 2 and 3 will be pretty hard to implement.
Option one seems like the elegant solution as right now you can only activate those post processing steps if you have a database pager (or you implement them yourself). Also looking at the code there are already some post process things in the Registery and Database Pager that overlap. For instance there is a _buildKdTreeIfRequired method in Registery but FindCompileableGLObjectsVisitor also tries to build a kdtree. Btw: whatever you choose it would be a good idea to split the post processing traversal from the compile set collecting anyway for better readability. Cheers, Pjotr ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61537#61537 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

