Skip to content

Implement binary GLTF conversion from XNB and vice versa#26

Merged
Krzyhau merged 10 commits intoFEZModding:mainfrom
zrckr:gltf-exporter
Sep 19, 2025
Merged

Implement binary GLTF conversion from XNB and vice versa#26
Krzyhau merged 10 commits intoFEZModding:mainfrom
zrckr:gltf-exporter

Conversation

@zrckr
Copy link
Copy Markdown
Contributor

@zrckr zrckr commented Sep 17, 2025

This PR adds conversion of trile sets and art objects from XNB to GLTF binary format and vice versa.

Now file bundles the mesh data, both albedo and alpha textures and metadata.
It replaces the current versions of the .fezts and .fezao formats, but, if desired, they can be enabled via the CLI flags --use-legacy-ao and --use-legacy-ts respectively.

Based on the current GLTF specification: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html (binary only)
It using the SharpGLTF 1.0.4 library.

Requires #25
Closes #17

Copy link
Copy Markdown
Member

@Krzyhau Krzyhau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm leaving a first batch of reviews. I'll probably go through the changes again once I actually test them locally 👀

Comment thread Core/Conversion/FormatConversion.cs Outdated
Comment thread Interface/Actions/HelpAction.cs
Comment thread Interface/Actions/PackAction.cs Outdated
Comment thread Core/Helpers/TrixelArtUtil.cs Outdated
Comment thread Core/Conversion/FormatConverter.cs Outdated
Comment thread Core/Conversion/Formats/ArtObjectConverter.cs Outdated
Comment thread Core/Helpers/GltfUtil.cs Outdated
Comment thread Core/Conversion/Formats/TrileSetConverter.cs Outdated
Comment thread Core/Conversion/Formats/ArtObjectConverter.cs Outdated
Comment thread Core/Helpers/GltfUtil.cs Outdated
Comment thread Core/Conversion/FormatConversion.cs Outdated
Comment thread Core/Conversion/Formats/ArtObjectConverter.cs Outdated
Comment thread Core/Definitions/Game/XNA/Vector4.cs Outdated
@Krzyhau Krzyhau merged commit 3603bec into FEZModding:main Sep 19, 2025
@zrckr zrckr deleted the gltf-exporter branch September 20, 2025 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

glTF support

2 participants