Hi David, Try a osgDB::Registry::ReadFileCallback, this won't catch when the node is added, but when its loaded, but it'll help you update the graph when needed. It'll also work with normal readNodeFile ops, rather than just DatabasePager based ones.
Robert. On Fri, Apr 11, 2008 at 1:13 PM, David _ <[EMAIL PROTECTED]> 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 > > > > ------------------------------ > Sigue al minuto las principales noticias de tu ciudad MSN > Deportes<http://deportes.es.msn.com/> > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

