donmccurdy / donmccurdy/glTF-Transform

Quantization should preserve sparse accessors

Open
#795 1 comment 0 reactions 0 assignees View on GitHub
feature package:functions
Dominant language
TypeScript
Stars
2k
Forks
206
Avg merge
2d 2h
Merged PRs (30d)
16

Description

Tested with the sample from https://github.com/donmccurdy/glTF-Transform/issues/289, I'm observing that using quantization on an asset with sparse accessors results in broken morph target animation. For now the quantize function will simply unset the sparse property from any affected accessors. I can't think of any reason that it shouldn't be possible to use the two together, though, so with some more investigation we may be able to fix this.

Also affects Meshopt compression, which begins with a quantization step.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.