Hi Paolo,
The openvrml loader is basic right now and cannot handle any VRML
file. I suspect that this is what you are running into. If you look at
the function convertFromVRML (ReaderWriterVRML2.cpp:~247) you will find
that the loader can only handle Group, Transform, and Shape nodes, a
subset of openvrml. There have been dynamic casts in there in the past
that didn't test for null (failed) results which in turn would cause a
crash. If you want to test whether this is the cause of your problem,
you should probably start by monitoring entry to the above function and
checking the openvrml node type by looking at obj->type().id() (returns
a string with node type). You could also look through your vrml file and
see whether it uses tags other than the ones mentioned above.
-Keith
On Wed, 7 Sep 2011, Paolo Piazzi wrote:
rmilh wrote:
I don't have VS2010. My libs and dlls are build with VS2008. What does the
compiler say when yout try to build openvrml-dl project? Maybe the main
project openvrml is missing a dependency to the openvrml-dl.lib.
openvrml-dl project was built correctly.
I added a dependency to openvrml-dld.lib to openvrml project too. Now the
osgviewerd.exe can fing the wrl plugin, but it gives me this error in
http://imageshack.us/photo/my-images/685/errorosg.jpg/
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42489#42489
Keith Parkins U of R Center for Visual Science
kparkins at cvs.rochester.edu Meliora Hall, Room 253
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org