OpenSceneGraph/include/osgDB
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
..
Archive Renamed Archive::ArchiveStatus to ReaderWriter::ArchiveStatus 2008-07-15 14:15:42 +00:00
AuthenticationMap Moved AuthenticalMap/AuthenticationDetails out in their own files 2008-07-17 12:13:04 +00:00
DatabasePager From Maceij Krol, "I have implement frame based expiration of PagedLOD children. 2008-08-17 16:52:35 +00:00
DotOsgWrapper Updated copyright years. 2006-07-18 15:21:48 +00:00
DynamicLibrary Updated copyright years. 2006-07-18 15:21:48 +00:00
Export From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)." 2007-12-10 17:30:18 +00:00
Field Updated copyright years. 2006-07-18 15:21:48 +00:00
FieldReader Updated copyright years. 2006-07-18 15:21:48 +00:00
FieldReaderIterator Updated copyright years. 2006-07-18 15:21:48 +00:00
FileNameUtils Added new ReaderWriter methods for recording what protocols, extensions and options are 2008-07-13 15:24:45 +00:00
FileUtils From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)." 2007-12-10 17:30:18 +00:00
ImageOptions From Mike Wittman, fix to CopyOp&. 2007-04-12 09:32:34 +00:00
ImagePager From Maceij Krol, "I have implement frame based expiration of PagedLOD children. 2008-08-17 16:52:35 +00:00
Input From Art Trevs, add support for saving external shader files. 2008-03-04 14:04:48 +00:00
Output Added a wrapString(const char*) which automatically handles null strings. 2008-06-18 16:45:21 +00:00
ParameterOutput Updated copyright years. 2006-07-18 15:21:48 +00:00
PluginQuery Added include to help wrapper building 2008-07-25 19:53:18 +00:00
ReaderWriter Moved AuthenticalMap/AuthenticationDetails out in their own files 2008-07-17 12:13:04 +00:00
ReadFile From Art Trevs, add support for saving external shader files. 2008-03-04 14:04:48 +00:00
Registry Added non const getAuthenticationMap(). 2008-07-21 17:27:59 +00:00
SharedStateManager Introduced support for UNSCPECIFIED and STATIC DataVariance of StateSet/Textures 2008-07-02 09:25:08 +00:00
Version From David Callu, improved consistency of Version strings and add version support 2007-09-05 17:12:24 +00:00
WriteFile From Art Trevs, add support for saving external shader files. 2008-03-04 14:04:48 +00:00