Improvements to the handling of textures and texture coords.

This commit is contained in:
Robert Osfield
2005-03-18 02:45:54 +00:00
parent dd4427d1e3
commit d801593d35
2 changed files with 160 additions and 43 deletions

View File

@@ -6,7 +6,9 @@
#include <osgDB/FileNameUtils>
// Inventor headers
#include <Inventor/SoDB.h>
#include <Inventor/SoInteraction.h>
#include <Inventor/nodekits/SoNodeKit.h>
#include <Inventor/nodes/SoSeparator.h>
#include "ConvertFromInventor.h"
@@ -34,7 +36,10 @@ ReaderWriterIV::readNode(const std::string& file,
<< fileName.data() << std::endl;
// Initialize Inventor
SoDB::init();
SoNodeKit::init();
SoInteraction::init();
// Initial GroupSoLOD node
GroupSoLOD::initClass();