Hi Peter, There over 70 plugins in src/osgPlugins/ that illustrate how to create a reader/writers, I would recommend having a look at simple one like src/osgPlugins/rgb or bmp.
You needn't implement it as a plugin though, you can write your own ReaderWrtier directly in your application, all you need to do is subclass from osgDB::ReaderWriter and then register this class with the osgDB::Registry using osgDB::RegisterReaderWriterProxy or associated REGISTER_OSGPLUGIN macro. Have a look at the examples/osgphotoalbum to see a in application loader implemented. Robert. On Thu, Mar 18, 2010 at 8:06 AM, Peter Bear <[email protected]> wrote: > Hi, I was wondering if anyone would be able to point me in the right > direction as to how to add support to load custom file types not currently > supported by OSG. I've been looking for a while and haven't turned much up > that appears to be of use. > > Thank you! > > Cheers, > Peter _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

