Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors in morph normal encoding in quantize() and meshopt() #1151

Merged
merged 5 commits into from
Oct 31, 2023

Conversation

donmccurdy
Copy link
Owner

@donmccurdy donmccurdy commented Oct 31, 2023

Fix errors in quantization and meshopt compression of morph normals and tangents.

… morph normals and tangents

- Morph normals and tangents are not normalized and should be quantized, not filtered
- Clamp morph normals and tangents to [-1, 1]
- Extend quantize() options to disambiguate vertex attributes from morph attributes
- Additional code comments
@donmccurdy donmccurdy added bug Something isn't working package:functions labels Oct 31, 2023
@donmccurdy donmccurdy added this to the v3.8 milestone Oct 31, 2023
@donmccurdy donmccurdy merged commit 2a504dc into main Oct 31, 2023
4 checks passed
@donmccurdy donmccurdy deleted the fix/meshopt-morph-normals branch October 31, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package:functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Meshopt compression breaks normals and/or tangents on mesh
1 participant