Hi Ben,

I tried your wrl files using osg with the coin3d plugin (alternate for some of what openvrml does) and got predictable results, given your post.

  When bombing on the Bad.wrl file, coin kindly provided the following:

% osgviewer Bad.wrl
Coin read error: Unknown field "mesh" in "VRMLShape"
        Occurred at line   5 in Bad.wrl
osgviewer: No data loaded

  Maybe this will help?

-bob

On Thu, 18 Sep 2008, Ben Axelrod wrote:

When I try to load a VRML 1.0 file in OpenSceneGraph, it segfaults.  I am using 
OpenSceneGraph 2.6, and OpenVRML 0.14.3.  I have attached the file that causes 
the segfault, as well as the same file with some minor changes to make it run 
properly.

The segfault happens inside: osgDB::readNodeFile(filename).  It would be great 
if OSG could detect the error, and return properly with an invalid node.  But I 
understand if the fault is inside of OpenVRML.

Thanks,
-Ben

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to