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

handle skinned mesh in bounds=tight #3272

Merged
merged 1 commit into from
Mar 14, 2022
Merged

handle skinned mesh in bounds=tight #3272

merged 1 commit into from
Mar 14, 2022

Conversation

elalish
Copy link
Collaborator

@elalish elalish commented Mar 14, 2022

Fixes #3189

Sure enough, three's bounding box computation doesn't apply bone transforms at all. I fixed this so long as you set bounds="tight", since that is our custom bounding logic we control (and it's better, so you should use it anyway). I'll also put in a PR to three.js to fix the underlying problem upstream.

@elalish elalish self-assigned this Mar 14, 2022
@elalish elalish merged commit 29fa7d3 into master Mar 14, 2022
@elalish elalish deleted the boneTransforms branch March 14, 2022 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resting Bounds for skinned meshes are calculated without taking initial bind pose into account
1 participant