From Alberto Farre, addition of ProxyNode, with support in .osg, .ive and .flt loaders

This commit is contained in:
Robert Osfield
2005-03-07 14:06:09 +00:00
parent f7f61627a8
commit 5684a130b7
19 changed files with 691 additions and 15 deletions

View File

@@ -37,6 +37,7 @@
#include "FragmentProgram.h"
#include "VertexProgram.h"
#include "LightModel.h"
#include "ProxyNode.h"
#include "Group.h"
#include "MatrixTransform.h"
@@ -931,6 +932,10 @@ osg::Node* DataInputStream::readNode()
node = new osgSim::VisibilityGroup();
((ive::VisibilityGroup*)(node))->read(this);
}
else if(nodeTypeID== IVEPROXYNODE){
node = new osg::ProxyNode();
((ive::ProxyNode*)(node))->read(this);
}
else if(nodeTypeID== IVEGROUP){
node = new osg::Group();
((ive::Group*)(node))->read(this);