glTF 2.0 Model Export Format - #725
Open
blitzingeagle wants to merge 17 commits into
Open
Conversation
… into gltf-exporter
|
There are a couple of issues I found out about for my use case of exporting Mii body models (Wii U Mii Maker, MiiBodyMiddle.bfres from main.sgarc.cmp), and importing those .glb files + .smd animations into iqmtool.
Feel free to cherry-pick or redo these fixes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a glTF 2.0 model exporter to the application as an alternative to the existing DAE model exporter.
glTF has become the industry-standard interchange format and is now significantly better supported in modern tools such as Blender, which has phased out official Collada (DAE) support since 5.0. Adding glTF provides a more future-proof export option.
The implementation uses SharpGLTF as a new dependency and supports exporting both:
Changes
.gltfand.glbfile extensions, though not explicitly prompted through the file format dropdown.gltfand.glbhave been added to Batch Model Export.gitignorefor generated.dllImprovements
Will still need a bit of work and testing to ensure a clean user experience, but as it stands it has mostly achieved parity with the DAE model exporter, since DAE does not use PBR materials and instead dumps textures alongside the export.