- osgviewer -l osgdb_iv.dll D:\Simulateur\EvorData\imports\yoda.wrl
I've also try to use Open Inventor (from TGS) as a third library, but still without any result... The built part is fine, but after it crash badly without giving me any line for the debug, exactly the same as when i use the plugin built with coin ...
Maybe jOan is right and i need to check my project file, but I don't exactly know the mutli-treads on single threads stuff. I've try different option, but without result, built ok, but crash after, as ever
So i've now maybe ten different plugin built with different library, but none of them can work...
I don't give up, but it'll be really good if someone knows a solution to load a VRML2.0 file (not binary file) with OSG !
Thanks
On 5/17/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
On 5/16/06, Netschke, Greg < [EMAIL PROTECTED]> wrote:I too am trying to work with VRML. When I saw this suggestion, I thought great! Now I won't have to modify OSG to make this work. However it is not working for me.osgDB::Registry::instance()->addFileExtensionAlias("wrl","wrl");The if in the following function make it exit without making the desired change.Am I missing something? I am still using version 0.9.9 but I checked my version 1.0 download -- it's the same.voidRegistry::addFileExtensionAlias(const std::string mapExt, const std::string toExt){if (mapExt!=toExt) _extAliasMap[mapExt] = toExt;}
The CVS version doesn't have the "if (mapExt!=toExt)", so will apply.
I strongly recommend at least upgrading to 1.0, it contains lots of useful features and lots and lots of bug fixes.
==========================================================================I have another issue that I would like to verify. I have some VRML version 1.0 files, but they are ASCII -- not binary.The IVE reader seems to only load binary VRML v1 files. Am I right?Robert.
The iv plugin uses Coin or Inventor to load VRML and ,iv files so what it can read depends entirely on these third party libraries.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
