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.
begin:vcard fn:Falko Kellner n:Kellner;Falko org;quoted-printable;quoted-printable:Christian-Albrechts-Universit=C3=A4t zu Kiel;Institut f=C3=BCr Informatik email;internet:fkell...@mip.informatik.uni-kiel.de x-mozilla-html:FALSE url:http://www.mip.informatik.uni-kiel.de/tiki-index.php?page=Falko+Kellner version:2.1 end:vcard
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org