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

Remove skin bind matrices #1434

Open
UltraEngine opened this issue Jun 14, 2024 · 2 comments
Open

Remove skin bind matrices #1434

UltraEngine opened this issue Jun 14, 2024 · 2 comments

Comments

@UltraEngine
Copy link

I am looking for a tool to remove skin bind matrices, so that the inverse bind matrices of the model are just the inverse of the initial orientation. Currently we cannot correctly load some glTF models that specify skin bind matrices so stripping them out and resetting the model would be great. In our loader, we flatten skinned meshes, so if the flatten feature already does that it's perfect.

@UltraEngine UltraEngine added the feature New enhancement or request label Jun 14, 2024
@donmccurdy
Copy link
Owner

Hi @UltraEngine! I'm not sure yet that I understand how this should be implemented, so I've followed up on the prior discussion at KhronosGroup/glTF#2411 (comment).

@donmccurdy
Copy link
Owner

The flatten() feature does not affect joints or animated nodes today, but I imagine that some of that implementation, or transformPrimitive(prim, matrix), would be part of the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants