Hi, I have questions about two things I noticed with the object cache in osgDB::Registry. First, in Registry::readImplementation, addEntryToObjectCache is called without a timestamp. This gives them a timestamp of 0.0, so it seems to me that objects can be booted from the cache one frame after they are loaded i.e., the next time that the pager's updateSceneGraph function is run. On the other hand, in DatabasePager::capped_removeExpiredSubgraphs, if there are no PagedLODs to remove the function returns immediately and doesn't update/flush the object cache. If there are few or no PagedLODs in the scene graph -- FlightGear's use case -- then the object cache will never be flushed. I'm not complaining because this is the behavior I want, but I wonder if this was really the intent.
Thanks, Tim _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

