GLTF (.gltf, .glb)
[Experimental]
- 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
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Scope (6)Survey of the scope of standard use cases
Basic Uses (2)
Graphics (2)
Export Graphics3D objects:
In[1]:=1

✖
https://wolfram.com/xid/0z6jjdvltkq-nri9rk
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0z6jjdvltkq-peaxse
Out[1]=1

In[2]:=2

✖
https://wolfram.com/xid/0z6jjdvltkq-jmldk2
Out[2]=2

Properties & Relations (3)Properties of the function, and connections to other functions
In[1]:=1

✖
https://wolfram.com/xid/0z6jjdvltkq-zakrps
Out[1]=1

In[1]:=1

✖
https://wolfram.com/xid/0z6jjdvltkq-m8rukc
In[2]:=2

✖
https://wolfram.com/xid/0z6jjdvltkq-ekks9o
Out[2]=2

In[1]:=1

✖
https://wolfram.com/xid/0z6jjdvltkq-4b9ubd
Out[1]=1
