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.
void Registry::addFileExtensionAlias(const std::string mapExt, const
std::string toExt)
{
if (mapExt!=toExt) _extAliasMap[mapExt] =
toExt;
}
==========================================================================
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?
Is there a simple way to convert ASCII VRML v1 to
binary?
Thanks,
Greg
BTW, I
am using the WRL plugin without problem on XP. I am using my own
app, not the osgviewer. I am using Microsoft Development Environment 2003
version 7.1.3088 and Microsoft .NET Framework 1.1 version
1.1.4322.
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
