[osg-users] How do PagedLOD children expire?

Paul Martz pmartz at skew-matrix.com
Mon Sep 10 15:23:09 PDT 2007


> The DatabasePager has a lower limit on the number of expired 
> PagedLODs before it starts removing expired ones; I believe 
> the default is 100.
> So, unless 100+ PagedLODs are loaded, you won't see any 
> removed due to expiring. I recall someone adding a function 
> to the DatabasePager so you could configure this, but I don't 
> have the reference handy at the moment.

Thanks. I see a variable targetNumOfInActivePagedLODs, hardcoded to 100, in
DatabasePager::removeExpiredSubgraphs(). This is in the v2.0 source. The
change you're referring to must be fairly recent.
   -Paul




More information about the osg-users mailing list