OpenSceneGraph/include
Robert Osfield 3de3b2dccc From Maceij Krol, "I have implement frame based expiration of PagedLOD children.
New attribute DatabasePager::_expiryFrames sets number of frames a PagedLOD child is kept in memory. The attribute is set with DatabasePager::setExpiryFrames method or OSG_EXPIRY_FRAMES environmental variable.

New attribute PagedLOD::PerRangeData::_
frameNumber contains frame number of last cull traversal.

Children of PagedLOD are expired when time _AND_ number of frames since last cull traversal exceed OSG_EXPIRY_DELAY _AND_ OSG_EXPIRY_FRAMES respectively. By default OSG_EXPIRY_FRAMES = 1 which means that nodes from last cull/rendering
traversal will not be expired even if last cull time exceeds OSG_EXPIRY_DELAY. Setting OSG_EXPIRY_FRAMES = 0 revokes previous behaviour of PagedLOD.

Setting OSG_EXPIRY_FRAMES > 0 fixes problems of children reloading in lazy rendering applications. Required behaviour is achieved by manipulating OSG_EXPIRY_DELAY and OSG_EXPIRY_FRAMES together.

Two interface changes are made:

DatabasePager::updateSceneGraph(double currentFrameTime) is replaced by DatabasePager::updateSceneGraph(const osg::FrameStamp &frameStamp). The previous method is in #if 0 clause in the header file. Robert, decide if You want to include it.

PagedLOD::removeExpiredChildren(double expiryTime, NodeList &removedChildren) is deprecated (warning is printed), when subclassing use PagedLOD::removeExpiredChildren(double expiryTime, int expiryFrame, NodeList &removedChildren) instead. "
2008-08-17 16:52:35 +00:00
..
OpenThreads From Mathias Froechlich, "Attached is a change to that atomic stuff to move the win32, msvc 2008-06-26 10:27:16 +00:00
osg From Maceij Krol, "I have implement frame based expiration of PagedLOD children. 2008-08-17 16:52:35 +00:00
osgDB From Maceij Krol, "I have implement frame based expiration of PagedLOD children. 2008-08-17 16:52:35 +00:00
osgFX Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgGA Ported intersection code to use new osgUtil::LineSegmentIntersector/IntersectionVisitor. 2008-07-05 16:39:28 +00:00
osgIntrospection Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgManipulator Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgParticle Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgShadow Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgSim Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgTerrain Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgText Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00
osgUtil Implemented a reference eye point and associated methods in support of intersecting billboards 2008-08-14 14:22:39 +00:00
osgViewer From Jutta Sauer, "We added a raise window method to GraphicsWindow. And added two 2008-08-15 17:32:26 +00:00
osgWidget Improved the doxygen docs over the various namespaces 2008-08-05 19:17:09 +00:00