Hi Falko, Could you send the whole file you modified to osg-submission, I'll review it once it arrives.
As for texture orientation, could you provide a model example to illustrate the problem. Robert. On Fri, Jul 10, 2009 at 9:16 AM, Falko Kellner<[email protected]> wrote: > Hello, > > in current svn rev 10454 the openvrml plugin loading a vrml file > containing group nodes segfaults, because a node.get() is used instead > of a node.release() in convertvrmlnode(). > > Also, using absolute paths on linux systems is broken: > osgviewer myfile.wrl works > osgviewer /home/fkellner/myfile.wrl file not found. > > I compiled openvrml without javascript/spidermonkey/mozilla etc, maybe > this is the reason why any file path starting with file:// is not > working on my specific system. > > Anyways, following patch solved both > problems for me > > fkell...@bille:/data1/fkellner/osg/OpenSceneGraph/src/osgPlugins/vrml> > svn diff > Index: ReaderWriterVRML2.cpp > =================================================================== > --- ReaderWriterVRML2.cpp (revision 10454) > +++ ReaderWriterVRML2.cpp (working copy) > @@ -185,7 +185,7 @@ > fileName = "file:///" + unixFileName; > #else > if (unixFileName[0] == '/') // absolute path > - fileName = "file://" + unixFileName; > + fileName = unixFileName; > #endif > else > // relative path > @@ -259,7 +259,7 @@ > // no children > } > > - return osg_group.get(); > + return osg_group.release(); > > } > > > Another question: When loading a vrml Model with ppm textures that loads > correctly in blender and for example OpenSG, the textures are flipped in > osgviewer. Can you check if this is a general problem with the ppm > importer? Other texture from e.g. jpeg or gif work fine. > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

