Re: Texture compression
Posted by
gouessej on
Oct 17, 2015; 2:17pm
URL: https://forum.jogamp.org/Texture-compression-tp4032185p4035497.html
Hi
Having a larger user base? For whom? For JGLI or for JOGL? This kind of feature has nothing to do in a third party library in my humble opinion. It forces a JOGL user to use another library instead of simply using TextureIO. If your library isn't good enough in terms of code quality, readability, maintainability, ..., it will be preferable to use something else in JOGL itself. You'll be forced to duplicate a bit some JOGL features at the end.
I speak mainly about KTX because I'm not interested in DXGI yet and because supporting KTX in JOGL seems to be doable to me. I'll detect KTX in my image file format detection mechanism first by using this file identifier:
0xAB, 0x4B, 0x54, 0x58, 0x20, 0x31, 0x31, 0xBB, 0x0D, 0x0A, 0x1A, 0x0A
https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/#2.1