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

Mesh animation seems strange after conversion #247

Open
enzopoeta opened this issue May 18, 2019 · 3 comments
Open

Mesh animation seems strange after conversion #247

enzopoeta opened this issue May 18, 2019 · 3 comments

Comments

@enzopoeta
Copy link

enzopoeta commented May 18, 2019

Hello people ! I'm trying to convert my assets using COLLADA2GLTF and I'm being more or less successful. In the rest pose the collada and gltf models seem identical. But during the animations i got several artifacts in the gltf mesh. I'm sending video links with the animation in the 2 formats and the original DAE. Thanks for the help!

-- GLTF Animation
https://youtu.be/Tzvz5vIZ_o0

-- Collada Animation
https://youtu.be/9OzYk2oUvzo

-- Original DAE

https://drive.google.com/file/d/1MLak3lu0eRxUKepFznD6J0pO6v796mG4/view?usp=sharing

@lasalvavida
Copy link
Contributor

lasalvavida commented May 22, 2019

Hi @enzopoeta,

It used to be that we were limited to 4 weights per vertex for skinning in glTF because they had to fit into a vec4. This model has a lot more than 4 weights per vertex, so the converter is dropping the extra ones. This is the source of the artifacting that you are seeing.

There is a way to do this now in glTF 2.0 with multiple sets of weights on a single primitive. I will use this issue to track the progress on that.

Thanks,
Rob

@enzopoeta
Copy link
Author

enzopoeta commented May 22, 2019

Thanks Rob ! I fixed the Vertex limits on blender but now i always a segfault when i try to convert the resulting DAE....Do you know If There is a way to Discover why the converter is crashing ? Thanks again for your help! Ps: im using a Ubuntu 18.4 compiled version from the latest source

@enzopoeta
Copy link
Author

Hello, I tried to use collada2gltf on a windows machine and it worked like a charm. Thanks again !

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