mainroach / crabby

A texture compression algorithm for sprite sheets that allows decompression on the GPU during rendering.
Apache License 2.0
104 stars 9 forks source link

create a more compressed disk format #8

Open mainroach opened 10 years ago

mainroach commented 10 years ago

Take advantage of VLC for block indexes. add a 2nd layer for per-scanline palettes. (One bit at start of scanline to denote of its palette or inline)

mainroach commented 10 years ago

Note, after some tests, the entropy-minimal frames data is about 50% what the final output size is; however VLCs are only allowing about 25% savings since it requires complex trees and codeword mappings to be part of the stream.