HI Akilan, To catch the calls to load tiles use a osgDB::Registry::ReadFileCallback. There has been plenty of discussion on this on osg-users mailing list so just do a search for ReadFileCallback and you should get lots of hits.
W.r.t notify, you can attach a custom streambuf to capture this stream. I think there may be something on the FAQ about this. Or... if you can update to svn/trunk or OSG-2.9.5 then there is new mechanism for overriding the notify output. Robert. On Tue, Jun 30, 2009 at 4:15 PM, Akilan<[email protected]> wrote: > Hi, > > I m using OSG2.2. > I created terrain database (virtual earth) consisting tiles (.ive files) for > 8 levels. It s fact that as and when the view is changed(zoom in/out) the > corresponding tile will be loaded dynamically(paging). Here, > First thing is that in my code I want to capture the name of the tile/file > being currently loaded. I run the viewer like, > > while(!viewer.done()){ > viewer.frame(); > } > > secondly, if the corresponding tile is missing in search path, it throws > warning message for the missed tile at console with tile name as well. I want > to capture the same message in code. > How could it be done?? > If the osg::notify could do it, pls tell me the level of notification. > ... > > Thank you! > > Cheers, > Akilan > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=14703#14703 > > > > > > _______________________________________________ > 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

