-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
[3.x] Backport glTF module with scene export support #49120
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We updated the master pr for skeletons bones that are also meshes. So merging this pr is linked to that being done.
I have prs incoming for export improvements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready to merge because #49119 was merged.
Edited:
Straightforward conflicts because of the changes to the older gltf importer. (49119)
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