Skip to content

Add WSModel and VariantMeshDefinition support to glTF/GLB export - #388

Merged
donkeyProgramming merged 9 commits into
donkeyProgramming:masterfrom
Shazbot:feature/gltf-glb-export
Oct 29, 2026
Merged

donkeyProgramming merged 9 commits into
donkeyProgramming:masterfrom
Shazbot:feature/gltf-glb-export

Conversation

@Shazbot

@Shazbot Shazbot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds WSModel and VariantMeshDefinition support to the existing glTF exporter.

Changes

  • Resolves WSModel material overrides, including sibling WSModels for RMV2 files.
  • Exports a composed VMD scene with skeleton attachments.
  • Adds animation selection to the export window.
  • Supports both .gltf and .glb.
  • Fixes swapped DDS colour channels and mask handling.
  • Removes temporary embedded texture files after GLB export.
  • Adds documentation and integration tests.

Testing

  • Full Windows test suite passes.
  • Tested RMV2, WSModel, and VMD exports manually.
  • Tested VMD export with multiple animations.
  • Added real-asset tests using the Karl Franz and Throt fixtures.

Limitations

  • Only LOD0 is exported.
  • VMD export uses one default composition.
  • Warhammer mask textures remain separate PNG files.
  • Components using a different skeleton are exported without skinning.

@donkeyProgramming
donkeyProgramming merged commit 2ab03cb into donkeyProgramming:master Oct 29, 2026
1 check passed
DerpyNewb added a commit to DerpyNewb/TheAssetEditorDN that referenced this pull request Nov 2, 2026
…onkeyProgramming#389

Brings in Shazbot's glTF/GLB export (donkeyProgramming#388, with the DDS export channel fix),
the Music Project Editor and MusicDat editor (donkeyProgramming#390), and the merged VFX PR (donkeyProgramming#389).

The VFX PR is a snapshot of this fork's own VFX work, so the fork's code wins in
those files. Kept from the PR: the eight tests its mutation pass added, which never
came back here, and "in step 1" dropped from the skipped-feature messages. Its
screenshot test is rewritten for DrawGuides, which replaced DrawLines/DrawOverlays.

Registration files keep both sides (Unit Simulator next to the music editors). The
solution closes Test.VfxEditor's Project block, which upstream's merge left open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants