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

Can't load GLTF with shape-keys animations #176

Open
strangetype opened this issue Apr 11, 2023 · 6 comments
Open

Can't load GLTF with shape-keys animations #176

strangetype opened this issue Apr 11, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@strangetype
Copy link

PIXI3D can't load GLTF file with shape keys animation:
image
errors:
image
shader error:
image

@jnsmalm
Copy link
Owner

jnsmalm commented Apr 11, 2023

Do you have an example glTF file so I can debug?

@strangetype
Copy link
Author

yes, this file

@jnsmalm
Copy link
Owner

jnsmalm commented Apr 30, 2023

Sorry for taking so long, I forgot about this one. I have been looking into this issue and there is no quick fix for this. The implementation has to be changed to handle these many morph targets (150 of them).

A question, are you sure you need to use morph targets to do this kind of animation or was this file just to demo the issue in Pixi3D? If not, you can create this animation just using transformation animation instead.

@strangetype
Copy link
Author

I need morph targets because this kind of animation creatied by physics emulation. there is no any 3d editors which is able to create physics animation using transform animation. this file is not for demo.

@jnsmalm
Copy link
Owner

jnsmalm commented May 3, 2023

Would it be possible to instead use joints/bones for the physics simulation and export those instead? Thing is I'm pretty occupied with other stuff right now and don't have time to implement support for more morph targets.

@jnsmalm jnsmalm added the enhancement New feature or request label May 4, 2023
@strangetype
Copy link
Author

thx for advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants