This plugin can export Rhino objects to glTF (.gltf
and .glb
) for use on the web/mobile/VR/etc.
Example
Rhino
Exported Result Viewed in browser
Install
Use the PackageManager with pre-release checked, and search for glTF-BinExporter
.
Usage
File Export plugin. Just select glb
or gltf
.
Also exposes a single command glTFBinExport
that exports the selected objects to a .gltf
and .glb
.
For how to use the resulting glb
file see e.g. ThreeJS GLTFLoader Example
NOTE: The DracoCompression extension is required, if exporting with DracoCompression.
Geometry
Geometry can optionally be compressed with DracoCompression.
Materials
Physcially based MetalRoughness materials are copied into the resulting .glb
. Normal materials are converted in a best-effort way.
Textures
Textures from the material are included into the exported file.
Known Limitations
- Lights.
- Cameras.
- Animations.
Releases
We’ll keep posting here with updates for new releases, so subscribe to this topic.
Latest release:
For Developers
The code is open source and can be found here https://github.com/Stykka/glTF-Bin