Chris Denham
2011-06-20 08:53:47 UTC
Hi,
I have a question about extracting images from an IVE with compressed textures.
I have a some IVE format files that have been created using a command line e.g. "OSGCONV --compressed input.flt output.ive"
This works fine, but the problem I have is that I want to be able to reverse the process, e.g.
"OSGCONV -O OutputTextureFiles input.ive output.osg"
The problem being, the original JPG texture images referred to by input.flt can not be written out because the OSG JPG writer only seems to support image pixel format GL_LUMINANCE, GL_ALPHA & GL_RGB. That is, it doesn't convert from the compressed DDS type images that are embedded in the IVE file when using the "--compressed" option.
My question is, can anyone provide any tips on how to extract JPG images from an IVE with emeddeded compressed textures? In other words, is there a way to reverse the compression applied in osgconv by its CompressTexturesVisitor code?
Thank you!
Cheers,
Chris
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40679#40679
I have a question about extracting images from an IVE with compressed textures.
I have a some IVE format files that have been created using a command line e.g. "OSGCONV --compressed input.flt output.ive"
This works fine, but the problem I have is that I want to be able to reverse the process, e.g.
"OSGCONV -O OutputTextureFiles input.ive output.osg"
The problem being, the original JPG texture images referred to by input.flt can not be written out because the OSG JPG writer only seems to support image pixel format GL_LUMINANCE, GL_ALPHA & GL_RGB. That is, it doesn't convert from the compressed DDS type images that are embedded in the IVE file when using the "--compressed" option.
My question is, can anyone provide any tips on how to extract JPG images from an IVE with emeddeded compressed textures? In other words, is there a way to reverse the compression applied in osgconv by its CompressTexturesVisitor code?
Thank you!
Cheers,
Chris
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=40679#40679