Render subpack assets with correct box UVs #3

Merged
smell-of-curry merged 3 commits from fix/subpack-box-uv-previews into main 2026-12-03 20:28:43 +00:00

PokéBedrock RES #74 identified two real preview bugs. The action sees the subpack entity but maps geometry and animations only at the pack root, and the still and GIF renderers paint the entire atlas on box-UV cube faces. Map each entity to its own subpack with root fallbacks. Use the Bedrock box atlas coordinates in the shared cube renderer. The tests cover subpack change selection, root fallback, distinct face rectangles, and mirroring. All 29 Jest tests, TypeScript and the action bundle build passed locally. Real Mamoswine normal and shiny Christmas previews now show a complete model.

PokéBedrock RES #74 identified two real preview bugs. The action sees the subpack entity but maps geometry and animations only at the pack root, and the still and GIF renderers paint the entire atlas on box-UV cube faces. Map each entity to its own subpack with root fallbacks. Use the Bedrock box atlas coordinates in the shared cube renderer. The tests cover subpack change selection, root fallback, distinct face rectangles, and mirroring. All 29 Jest tests, TypeScript and the action bundle build passed locally. Real Mamoswine normal and shiny Christmas previews now show a complete model.
Remove superseded generated preview chunks
All checks were successful
CI / test (pull_request) Successful in 1m11s
CI / lint (pull_request) Successful in 38s
567e04b717
Compare previews against the actual base entity bindings
All checks were successful
CI / lint (pull_request) Successful in 47s
CI / test (pull_request) Successful in 1m6s
53a9d9d514
Sign in to join this conversation.
No description provided.