Hi Robert,

I have extended the pvr reader plugin to support etc1 
compression(GL_ETC1_RGB8_OES). The changes attached to this submission are 
based on today's trunk.

The pvr format which can be used as a wrapper for different compressed and 
uncompressed formats supports this compression algorithm. The original pvr 
compression uses the pvrtc format. The handling of pvrtc is already implemented 
in the pvr plugin. PVR provides wrapper functionality for some formats, e.g. 
etc or even dxt/dds.

Our target system (gles2) is able to use the etc compression format. With minor 
changes in the submitted files, there is no need to write a separate plugin. 
However the original pvr texture compression formats are not supported on our 
target, which is the reason for this extension.

The changes mainly consist in the definition on new enum values in the classes 
and headers of ReaderWriterPVR,Image and Texture. I also found some locations 
where the handling of the original pvr textures was not implemented. These are 
also part of this submission.

With this changes etc compressed textures work fine on our target. I think this 
submission might be useful for others, too.

Thank you!

Cheers,
Johannes

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38554#38554




Attachments: 
http://forum.openscenegraph.org//files/osg_138.zip


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

Reply via email to