c1e32ef742
as not expiring subgraphs quick enough to enable reasonable load balancing. New version isn't perfect and will need further work, but does at least reduce the memory footprint by as much as half on test paths on big databases. The rewritten method no longer uses the the MaximumNumOfRemovedChildPagedLODs and MinimumNumOfInactivePagedLODs variables so these and associated methods for accessing them have been removed. - /** Set the maximum number of PagedLOD child to remove per frame */ - void setMaximumNumOfRemovedChildPagedLODs(unsigned int number) { _maximumNumOfRemovedChildPagedLODs = number; } - - /** Get the maximum number of PagedLOD child to remove per frame */ - unsigned int getMaximumNumOfRemovedChildPagedLODs() const { return _maximumNumOfRemovedChildPagedLODs; } - - /** Set the minimum number of inactive PagedLOD child to keep */ - void setMinimumNumOfInactivePagedLODs(unsigned int number) { _minimumNumOfInactivePagedLODs = number; } - - /** Get the minimum number of inactive PagedLOD child to keep */ - unsigned int getMinimumNumOfInactivePagedLODs() const { return _minimumNumOfInactivePagedLODs; } |
||
---|---|---|
.. | ||
osg | ||
osgDB | ||
osgFX | ||
osgGA | ||
osgIntrospection | ||
osgManipulator | ||
osgParticle | ||
osgShadow | ||
osgSim | ||
osgTerrain | ||
osgText | ||
osgUtil | ||
osgViewer |