Re: [osg-users] Custom file type loading?

2010-03-18 Thread Chris 'Xenon' Hanson
On 3/18/2010 2:06 AM, Peter Bear 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.

Re: [osg-users] Custom file type loading?

2010-03-18 Thread Robert Osfield
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 n

Re: [osg-users] Custom file type loading?

2010-03-18 Thread Ralf Stokholm
Hi Peter I have no personal experience with this, but from my understanding the most correct pattern would be to add a new plugin for your file type. Take a look at the way other files are handled either images like bmp's or models. Brgs. Ralf Stokholm On 18 March 2010 09:06, Peter Bear wrote:

[osg-users] Custom file type loading?

2010-03-18 Thread Peter Bear
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 -- Rea