nicastel / renderscript_texture_compressor

RenderscriptTextureCompressor
Apache License 2.0
4 stars 6 forks source link

Integration of a DDS writer in addition of the PKM one #4

Closed nicastel closed 10 years ago

nicastel commented 10 years ago

The DDS format can perfectly handle an ETC1 texture (with the FOURCC "ETC1" in the header) since the size and structure (4x4 pixel block encoded as 64 bit) is exactly the same as DXT1.

The DDS format as some advantages over PKM : mipmap in the same file, texture array (to have 2 textures ETC1 in the same file : 1 RGB / 1 ALPHA).

ndorigatti commented 10 years ago

I don't have knowledge on DDS but I have seen this repo looking at other things: https://github.com/philjord/3DTools/tree/master/3DTools/src/tools/ddstexture could help you?

nicastel commented 10 years ago

This one is only a reader.

I have finally borrowed the WorldWind Android DDS Writer, this is simply the best one available in Java.