mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:25:52 +01:00
[PR #1753] glb_skinning: accept extra inverse bind matrices #1766
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1766
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1753
Author: @kirigayakazima
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:codex/glb-skinning-surplus-bind-matrices📝 Commits (1)
cdf5bceglb_skinning: accept extra inverse bind matrices📊 Changes
3 files changed (+26 additions, -8 deletions)
View changed files
📝
docs/character_skeleton.md(+3 -3)📝
tests/test_glb_skinning.py(+20 -2)📝
tools/glb_skinning.py(+3 -3)📄 Description
Claimed in the coordination issue as: GLB-SKINNING-SURPLUS-BIND-MATRICES
What and why
The validator rejected every difference between the joint count and the accessor count. glTF permits an accessor to contain more matrices than a skin uses. The validator now rejects an undersized accessor, reports the actual count and retains its affine checks for the matrices used by joints. The synthetic case shares one accessor between two skins. glTF 2.0 skin specification
Tested
With one three-matrix accessor shared by skins of two joints and one joint, the baseline CLI exited 1 with two count errors. The branch exits 0 and its JSON retains both joint counts and the accessor count. The short-accessor and non-affine joint regressions also pass.
python -I tests/test_glb_skinning.pypassed all 27 tests on this branch (Windows, Python 3.14.7).git diff --checkand the repository game-data scan of all changed paths passed.bcaa13dapassed 6,287 semantic tests across 488 files.GPUs tested: N/A (CPU-only asset tooling).
AI-assisted: Yes.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.