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:
@@ -33,6 +33,7 @@
|
||||
#include "Billboard.h"
|
||||
#include "Sequence.h"
|
||||
#include "LOD.h"
|
||||
#include "PagedLOD.h"
|
||||
//#include "ViewPoint.h"
|
||||
#include "PositionAttitudeTransform.h"
|
||||
#include "Transform.h"
|
||||
@@ -556,6 +557,10 @@ osg::Node* DataInputStream::readNode()
|
||||
node = new osg::LOD();
|
||||
((ive::LOD*)(node))->read(this);
|
||||
}
|
||||
else if(nodeTypeID== IVEPAGEDLOD){
|
||||
node = new osg::PagedLOD();
|
||||
((ive::PagedLOD*)(node))->read(this);
|
||||
}
|
||||
else if(nodeTypeID== IVESWITCH){
|
||||
node = new osg::Switch();
|
||||
((ive::Switch*)(node))->read(this);
|
||||
|
||||
Reference in New Issue
Block a user