- Shared pipeline extracted to src/pipeline.js (browser + node run identical logic) - Draco: vendored decoder WASM in public/draco/, lazy-registered by peeking the GLB JSON chunk before read (gltf-transform fails cryptically on a mid-read missing dependency); DRACOLoader wired into the viewer; extension stripped on write so output is standard GLB - bin/cli.js: NodeIO + draco3dgltf + sharp textures, presets/flag overrides, batch with --outdir, per-file report Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| draco_decoder.wasm | ||
| draco_wasm_wrapper.js | ||