Re: [osg-users] [osgPlugins] Adding an alias for .osg

2009-10-19 Thread Joan Knutzen
Hi,

Anyone? 

Thank you!

Cheers,
Joan

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18371#18371





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [osgPlugins] Adding an alias for .osg

2009-10-08 Thread Joan Knutzen
Hi,

I'm trying to save and open an osg node, but instead of using the .osg 
extension id like to use .custom. I've understood it that I should call:

osgDB::Registry::instance()-addFileExtensionAlias(custom, osg);

In order to create an alias for .custom to .osg, but it does not work to load a 
file with:
osgDB::readNodeFile(test.custom);

Anything else I need to do?

I am using the svn trunk of openscenegraph.

Thank you!

Cheers,
yohan

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18008#18008





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org