Tsar Hoikas wrote:Psst, it's PNGs embedded in the plMipmaps
Thought it was something along those lines. I just need to sweet talk Drizzle into generating something PotS can use...
Tsar Hoikas wrote:Remember that images are BGRA in Plasma...
Oh yeah, now I remember seeing that with JPEGs in ZLZ. Will keep an eye out, thanks.
Aloys wrote:Why? Why do people go out of their way to make obscure image color formats?
You don't understand ! It's because this allows our platform to be
more optimized than our concurrent's ! Heh, just joking. I think... I'm not so sure anymore with the OpenGL/D3D Y axis direction, left/right handed XYZ axis systems, etc.
Jokes aside, it's just the regular mess with formats, standards, norms, and optimization across different platforms, which you have to live with. It was already a mess with all the different file type and standards for color images (JPEG, YUV, premultiplied alpha, etc). Then with 3D came for instance normalmaps and heightmaps which have completely different needs and are destroyed when stored in the wrong container. Then people needed more channels to store metallic/roughness for PBR, along with stencils, etc, but had to squeeze them all together because of memory constraints. Etc.
Fortunately some formats are quite common like DXT1/DXT5/uncompressed in the case of DDS. Which were all superseded by the new shiny DX11/BC7 compression for which I have no viewer and no Gimp export plugin
Oh, and as often, there is a
relevant XKCD.