mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:30:53 +01:00
[PR #1747] glb_inspect: show normal, metallic-roughness, occlusion and emissive maps #1763
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#1763
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/1747
Author: @kirigayakazima
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:codex/glb-inspect-material-maps📝 Commits (1)
bd605a6glb_inspect: report normal, metallic-roughness, occlusion and emissive maps📊 Changes
2 files changed (+33 additions, -2 deletions)
View changed files
📝
tests/test_glb_inspect.py(+20 -0)📝
tools/glb_inspect.py(+13 -2)📄 Description
Claimed in the coordination issue as: GLB-INSPECT-MATERIAL-MAPS
What and why
The character exporter writes normal and metallic-roughness textures, but the inspector only listed base color. The inspector now shows all other core material texture roles that were actually declared. Both reports use the existing image resolution rules, including extension images. A material without those roles retains its existing report shape.
Tested
The synthetic test covers all four roles, two roles sharing an extension image, an invalid boolean index and an unresolved declared index. An existing exact JSON comparison covers materials without additional maps.
python -I tests/test_glb_inspect.pyon Windows with Python 3.14.7 ran 37 tests on this branch with one platform skip. The new tests also failed against the original inspector.python -I scripts/check_no_game_data.py tools/glb_inspect.py tests/test_glb_inspect.pyandgit diff --checkpassed.bcaa13dapassed 6,287 semantic tests across 488 files.GPUs tested: N/A (CPU-only metadata inspection).
AI-assisted: Yes.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.