Hi Roland,

I have actually found some weird incompatibilities (DDS images can't be written 
back as png or tiff for example, I haven't investigated why...) using this 
mechanism.

Were these DDS textures using DXT compression? Not all image writers properly 
return a failure, but simply try to write the data, which may result in 
unpredictable results.

As I said, I haven't really looked into why I was getting a failure. But I would have thought that an output plugin would just take the raw data from osg::Image::data() and output that however it needs to (converting between pixel formats as needed). It was probably just that assumption that was wrong.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to