This plugin can export Rhino objects to glTF (
.glb) for use on the web/mobile/VR/etc.
Exported Result Viewed in browser
Use the PackageManager with pre-release checked, and search for
File Export plugin. Just select
Also exposes a single command
glTFBinExport that exports the selected objects to a
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 can optionally be compressed with DracoCompression.
Physcially based MetalRoughness materials are copied into the resulting
.glb. Normal materials are converted in a best-effort way.
Textures from the material are included into the exported file.
We’ll keep posting here with updates for new releases, so subscribe to this topic.
The code is open source and can be found here https://github.com/Stykka/glTF-Bin