Commit Graph

5 Commits

Author SHA1 Message Date
m3ultra
0db816b55d vertex baker: export contract + vertex normals; validator accepts COLOR_0 asset class
Some checks failed
CodeQL Advanced / Analyze (${{ matrix.language }}) (none, c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
- _export_pbr vertex branch returns (trimesh, pre_simplified) per contract
- materialize vertex_normals pre-export (glTF NORMAL, same trick as _raw_trimesh)
- gltf_validation: COLOR_0-without-UVs primitives are a legitimate color-bearing
  static asset (glTF default material x COLOR_0); texture checks skip for them

Full gate now EXIT=0: 71.96s e2e, 26.5GB peak (from A0 216.6s / 75.4GB).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 03:53:35 +10:00
m3ultra
7860148eb2 spconv Metal kernel (opt-in) + fix vertex baker scheduler fallthrough
Some checks are pending
CodeQL Advanced / Analyze (${{ matrix.language }}) (none, c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
- sparse_conv_metal: fused gather-GEMM kernel, parity 8e-4 vs stock;
  honest verdict: stock chunking already bounds memory at decoder scale
  (1.97GB synthetic peak) and beats the scalar kernel on speed — kept as
  TRELLIS2_METAL_SPCONV=1 opt-in + upstream reference, NOT default.
- _attempt_schedule: preferred=vertex now runs the vertex baker (was
  silently falling through to the 5h+ pure-python kdtree grind).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-20 03:37:20 +10:00
m3ultra
746e727da2 generate_asset: --baker vertex — IDW voxel-grid vertex-color baker (dark-patch fix)
Some checks are pending
CodeQL Advanced / Analyze (${{ matrix.language }}) (none, c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
Same sampler as trellis-mac TRELLIS2_BAKER=vertex; Metal texel path retained
as-is. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-19 19:16:08 +10:00
Jourloy
1488ba1505 fix: distinguish requested and safety decimation 2026-07-17 09:27:47 +03:00
Jourloy
f59e6e5981 feat: add native Apple Silicon asset pipeline 2026-07-17 09:21:34 +03:00