Skip to content

feat(exporting): add native glTF 2.0 and GLB export - #515

Open
JarrettSJohnson wants to merge 7 commits into
masterfrom
codex/issue-497-gltf-glb
Open

feat(exporting): add native glTF 2.0 and GLB export#515
JarrettSJohnson wants to merge 7 commits into
masterfrom
codex/issue-497-gltf-glb

Conversation

@JarrettSJohnson

@JarrettSJohnson JarrettSJohnson commented Jul 25, 2026

Copy link
Copy Markdown
Member

Summary

Implements the glTF/GLB portion of #497 by adding native glTF 2.0 and binary GLB export without the external COLLADA2GLTF conversion step. The exporter preserves geometry scale, vertex colors, normals, and transparency for sticks, spheres, cartoons, and surfaces.

Export is opt-in at build time with --json=true and requires nlohmann-json. Text labels and ellipsoids remain unsupported in this first pass.

Testing

  • Added coverage for GLB containers, self-contained glTF, representations, colors, normals, transparency, and empty scenes.
  • Validated exported files with the Khronos glTF Validator and three.js.
  • Verified builds with and without --json=true.
  • All CI checks pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant