hi david, in order to do something similar i have subclassed PagedLOD and reimplemented addChild(), which gets called by the DatabasePager when a new node is added.
depending on your circumstances, roberts suggestion (osgDB::Registry::ReadFileCallback) might be easier to implement. -till On Friday 11 April 2008, David _ wrote: > Is there any way to know when the data base pager loads a new node in the > graph?? > > right now i´m running through the whole graph each frame after the > updateTraversal in order to see if the dbp has added a new node so i can > make some stuff with it before it´s rendered on the screen > > is there any callback that i can set in the DBP so it´s called every time a > new node is added in order to avoid visiting the whole graph in every > frame??? > > another question: any callback when the DBP deletes a node from the graph?? > > thanks > > edit: sorry for my english > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

