Repository navigation
Commit 26396cd
authored
feat: add gltf-export-roundtrip example witnessing glTF interchange contracts (#75)
The game-engine interchange path is where AI-generated Blender code drifts
silently: the +Y-up convention, modifier application at export, UV V-flips.
This example pins them: a supply crate exported GLTF_SEPARATE and
re-imported, checked against the depsgraph-evaluated mesh (positions,
normals, UVs, per-triangle material bindings), with the on-disk JSON/buffer
parsed directly for the axis-conversion and V-flip witnesses.
Probed during authoring on 4.5.11 and 5.1.2: exporter/importer RNA is
byte-identical, so the example guards the kwarg set explicitly instead of
papering over a divergence that does not exist. Mesh.calc_normals() being
removed on 5.x surfaced as a real authoring hazard and is pinned in code.
Signed-off-by: fOuttaMyPaint <TMhospitalitystrategies@gmail.com>1 parent a483d26 commit 26396cd
12 files changed
Lines changed: 1582 additions & 2 deletions
File tree
- .cursor-plugin
- .github/workflows
- docs/gallery
- assets
- contact-sheets
- gltf-export-roundtrip
- examples
- gltf-export-roundtrip
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
468 | 494 | | |
469 | 495 | | |
470 | 496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
Loading
0 commit comments