GLTF (.gltf, .glb)
- Export supports the GLTF file format.
Background & Context

-
- MIME type: model/gltf+binary, model/gltf+json
- Graphics Language Transmission Format.
- 3D graphics format.
- Commonly used to share 3D scenes and models.
- Developed in 2015 by the Kronos Group.
- ASCII or binary format.
- Provides schemas for standard encoding of 3D scenes and models.
Export

- Export["file.gltf",expr] exports a 3D object to a binary GLTF file. The expr can be any 3D geometric region that is ConstantRegionQ or a Graphics3D object.
- The export format can be specified with Export["file",expr,"GLTF"].
- File formats and file extensions used by the GLTF specification include:
-
"GLTF" ASCII encoded "GLB" binary encoded - See the following reference pages for full general information:
-
Export export to a file CloudExport export to a cloud object ExportString export to a string ExportByteArray export to a byte array