Hi Chris,

why don't you just render the texture to another RTT / offscreen buffer
and read out the pixels... should be hardware accelerated

regards Ralph

Am 20.06.2011 10:53, schrieb Chris Denham:
> 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
> 
> 
> 
> 
> 


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to