Two scenes in. Two scenes out.
GLTFExporter accepts a scene or an array of scenes. This
lab exports two authored roots to JSON and GLB, then independently
reloads each artifact through GLTFLoader so scene count,
animation ownership, and extension metadata are observable.
Preparing two authored Scene inputs and the export matrix.
- Authored
- JSON
- -
- GLB
- -
- Loaded
- -
Run the matrix to create both in-memory artifacts; reload buttons parse the exact bytes through GLTFLoader.
two independent Scene inputs
scene array + nested animations
same topology, binary payload
independent parseAsync()
custom extension ownership
Each scene owns one clip; the exporter receives [[clipA], [clipB]], not a flat list.
Scene[] -> GLTFExporter.parseAsync() -> JSON/GLB -> GLTFLoader.parseAsync() -> scenes[]
Derived from the official glTF exporter example, GLTFExporter, and GLTFLoader. Use ?forceWebGL=1 for the labeled WebGL2 preview.