[3.x] Backport glTF module with scene export support - #49120
Conversation
aaronfranke
left a comment
There was a problem hiding this comment.
I tested this on the TPS demo. Overall works great in my testing, with the same notes as I made here of slightly different behavior (technically it doesn't break compatibility as existing projects should keep working, but for best results user projects should be updated manually, otherwise there are duplicated imported meshes).
On the addition of the empty documentation files: Filling these in would be nice, but it's not a blocker for this PR in my opinion. It might make sense to get this merged in sooner rather than later, and the documentation can be written in another PR.
This will need approval from @fire before it can be merged.
Fix issue when two skeletons end up directly parented. Prevent animating TRS for skinned Mesh node. Fix animating weights on meshes with targets but no weights.
|
Updated the PR for godot 3.x and tested on my various gltf test scenes. |
|
Thanks! |
Updated version of gltf2 module by @fire including the preliminary GLTF Export support.
Optimistically includes a backport of #48915 as I needed this bugfix to test my content. It's the last commit in the chain and can be ignored if necessary.
Note that GLTF Export crashes when given complicated skinned meshes. This crash is also present in Master. I will need some additional help from fire to resolve export-related bugs.
In this version, I collapsed the commit history.
Supersedes #46783
Supersedes #49051