From Jan Peciva,
"I was working on a new version of Inventor plugin. It was inspired by the need to get correct and high quality conversion, so I verified the plugin on complex models and made number of serious fixes: - the geometry is not two times on the output file (!) - SoVRMLImageTexture: VRML texture support was rewritten according to Inventor programming practices, since it does not worked correctly on many models (Anyway, thanks for Gerrick Bivins to introduce it.) - osg::ref wrong usage related crash fixed - code cleaning and texture code overhaul - LOD fixes - appended README.txt with all the contributors I was able to get from SVN logs"
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include <Inventor/SoInteraction.h>
|
||||
#include <Inventor/nodekits/SoNodeKit.h>
|
||||
#include <Inventor/nodes/SoSeparator.h>
|
||||
#include <Inventor/VRMLnodes/SoVRMLImageTexture.h>
|
||||
|
||||
#include "ConvertFromInventor.h"
|
||||
#include "GroupSoLOD.h"
|
||||
@@ -44,6 +45,9 @@ ReaderWriterIV::readNode(const std::string& file,
|
||||
// Initial GroupSoLOD node
|
||||
GroupSoLOD::initClass();
|
||||
|
||||
// Disable delayed loading of VRML textures
|
||||
SoVRMLImageTexture::setDelayFetchURL(FALSE);
|
||||
|
||||
// Open the file
|
||||
SoInput input;
|
||||
if (!input.openFile(fileName.data()))
|
||||
|
||||
Reference in New Issue
Block a user