-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

� Guay wrote:
> Hello Robert,
> 
> I just ran into two problems with the OpenVRML plugin, and I have no 
> idea what could cause them.
> 
> Problem 1: 
> -------------------------------------------------------------------------------
> 
> 
> When using OSG_NOTIFY_LEVEL=DEBUG and running osgviewer file.wrl
> (which is a valid VRML file) I can see that OSG will try to load the 
> osgdb_vrml.dll plugin, and that works, displaying the VRML file
> correctly.
> 
> But when using the debug mode osgviewer, osgviewerd file.wrl, it
> tries to load osgdb_wrld.dll instead of osgdb_vrmld.dll (note - wrl
> instead of vrml) which of course does not exist.

That looks as if the alias for wrl extension was not registered properly
  in osgDB/Registry.cpp :( However, registry doesn't make a difference
between debug and release version, AFAIK? I will check the source,
perhaps there is something windows-specific in osgDB that I have missed :(

> 
> Problem 2: 
> -------------------------------------------------------------------------------
> 
> 
> Say I have a VRML file in the current directory, and do osgviewer 
> file.wrl, it displays correctly.
> 
> But if I have the same file (verified identical using diff) in my
> data dir (pointed to in the OSG_FILE_PATH environment variable) I get
> this output using OSG_NOTIFY_LEVEL=DEBUG:
> 
<snip>

> The file is the same, and the correct plugin to load it was used, so
> why does it say "no data loaded"?
> 
> Trying a .osg file which is in my data dir (like cow.osg) works fine,
>  and it doesn't say it didn't find the file, just that no data was 
> loaded. What could be wrong?

Hmm, that looks like a bug - I am not sure whether the VRML plugin uses
the OSG_FILE_PATH properly, probably not :( Well, another point to my
TODO list :)

Jan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFGjl+un11XseNj94gRAkayAJwNc/xT+swPqqRxJIHLB20WDLyOEACg0QYG
POQ7OPQNw+5CLyNzYKkzszw=
=uR4W
-----END PGP SIGNATURE-----
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to