OK, so I'm guessing there's no way to decompress other compression types, such as ARB compression, using OSG calls?
Thanks, Greg -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Wednesday, January 10, 2007 4:21 AM To: osg users Subject: Re: [osg-users] texture image extraction Hi Greg, Unfortunately there isn't a means for converting DX* compressed osg::Image out into uncompressed osg::Image's, to do this I'm afraid you'll have to read up on the DX* formats and work out how to recompress them. Once you have the uncompress osg::Image's you'll be able to use the OSG writeImageFile so this part of the equation will be straight forward. Robert. On 1/9/07, Goldstein, Gregory A. <[EMAIL PROTECTED]> wrote: > I have a bunch of .ive files with embedded JPEG textures that were > compressed using DXT1 compression. I want to extract the texture images > back out into JPEG files. I know this is possible when the textures are > uncompressed, all one needs to do is get the osg::Image pointer and call > osgDB::writeImageFile. This method doesn't work with compressed textures. > Is there a way to extract compressed textures back into their native format? > Obviously I don't expect to get the same resolution back, I just want them > back as JPEG files. > > > > Thanks a lot, > > Greg > > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > > _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
