Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gltfpack: Fix translation track optimization to take scale into account
When analyzing track errors, currently gltfpack doesn't take the hierarchy into account. This is known to be problematic in some cases - ideally, all errors need to be analyzed at leaf level which would take into account the entire hierarchy to make sure that each constant folding doesn't affect the final result too much. For now, this fixes one egregious and potentially common case where when a scene root has a large scale (which is common for cases where scenes go through a unit conversion), the visual error gets magnified by this scale, which can result in a visible degradation of animation quality. Fixes zeux#278.
- Loading branch information