Skip to content

Compressed data size is larger than the original one after both compressed by gzip #385

Answered by zeux
jz0224 asked this question in Q&A
Discussion options

You must be logged in to vote

This can sometimes happen; no compression scheme can guarantee monotonicity. That said, it's atypical.

I would recommend checking if you observe the same result when using gltfpack (-c with or without gzip). Common issues that may prevent efficient compression are inefficient indexing, inefficient triangle order (for best results wrt compression size meshopt_optimizeVertexCacheStrip is recommended), and sometimes the use of floating point formats without filters can lead to complex compression size impact as well.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jz0224
Comment options

Answer selected by jz0224
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants