Hi Paul, There isn't any way I pinpoint what the problem is from the details provided. I general I would say it would say that you seem to be doing the things correctly that you've listed, but since there is so much left open ended I can't say more than this.
One thing you can do to start to work out what might be wrong is up the debug information output from the OSG to see what files and plugins are being searched from and loaded. To up the notification level set the environment variable OSG_NOTIFY_LEVEL to DEBUG, then run your application and record the console output. Have a look through the console output. Also run your app in a debugger and see what happens inside osgDB::Registry when it handles the read call. Robert. On 13 February 2012 15:19, Paul Leopard <[email protected]> wrote: > I'm having an issue with the plugin extension aliasing that i cannot seem to > correct. I want it to process files with 4 different extensions (.frad, > .ftop, .tplt, and .cdsc). I wrote a plugin CDSCReaderWriter with a > constructor that reports its ability to process such extensions as follows: > > > Code: > > CDSCReaderWriter::CDSCReaderWriter() > { > supportsExtension("frad","FRAD File"); > supportsExtension("ftop","FTOP File"); > supportsExtension("tplt","TPLT File"); > supportsExtension("cdsc","CDSC File"); > } > > > > > Then in my scene loader, prior to loading of any files, I put this : > > > Code: > > osgDB::Registry::instance()->addFileExtensionAlias("frad","cdsc"); > osgDB::Registry::instance()->addFileExtensionAlias("ftop","cdsc"); > osgDB::Registry::instance()->addFileExtensionAlias("tplt","cdsc"); > > > > > After all this, when I call readNodeFile(...) with a ftop/frad/tplt file the > registry fails to associate the CDSCReaderWriter with these files. > > Any ideas? > > Thanks in advance! > Paul > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=45452#45452 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

