3 ms·
PNG decompression is way too slow. Some games use it but it's on the way out, either being replaced by codecs like Basis or QOI in most cases
by kevingadd 4y ago
PNG decompression is way too slow. Some games use it but it's on the way out, either being replaced by codecs like Basis or QOI in most cases
- tmilard 4y agoReally ? It does not feel this way on my scene that has more than 90 .png files used for texture. The time to : download the globel zip file + open and reading the points and all textures => 5 to 7 seconds. This is super quick !
- kevingadd 4y agoSwitching from PNG to basis for my game (currently with a pretty minimal set of textures) was like a 50% reduction in load times with no other changes. Note that I'm not storing assets at rest in a ZIP file because there's no reason to. If I was doing that it might close the gap some.
- tmilard 4y agoYes I agree but the PNG compresion size is so great ! The Textures in total reduce enormously my game file size. By 15 times : so good. And because it is small the web download is VERY quick. Very.... So in a way I loose a bit on decompresing textures time, BUT a gain a lot od seconds in dowloading reduced textures files.
- ehaliewicz2 4y agoHow many times do you decompress the textures, and how many times do you download them?
- tmilard 4y agoOnly once : - Step 1: download zip file containing my XML point file and my 90 PNG texture files. - Step 2: open zip file and dezip in 91 filed - Step 3: run 3D games with all the 91 Assets. The (small) game engine reads each 90 PNG files and - of xccourse- transform each one in a GPU compatible texture. All zip takes about 6 seconds. Not so bad