Added support for PagedLOD node into .ive format and added support for

Enabled texture object reuse by setting an expiry delay in the TextureObjectManager
of 10 seconds - done for both osgDB::DatabasePager and TXP plugin.
This commit is contained in:
Robert Osfield
2003-07-23 15:52:05 +00:00
parent 46680be5eb
commit a7b7d6cefc
9 changed files with 253 additions and 91 deletions

View File

@@ -35,6 +35,7 @@
#include "Billboard.h"
#include "Sequence.h"
#include "LOD.h"
#include "PagedLOD.h"
//#include "ViewPoint.h"
#include "PositionAttitudeTransform.h"
#include "Transform.h"
@@ -421,6 +422,9 @@ void DataOutputStream::writeNode(osg::Node* node)
else if(dynamic_cast<osg::Impostor*>(node)){
((ive::Impostor*)(node))->write(this);
}
else if(dynamic_cast<osg::PagedLOD*>(node)){
((ive::PagedLOD*)(node))->write(this);
}
else if(dynamic_cast<osg::LOD*>(node)){
((ive::LOD*)(node))->write(this);
}