glTF (Graphics Language Transmission Format) is a royalty-free open source file format. It is developed by The Khronos Group as a standard for exchanging 3D scenes and models. Rhino opens and saves two glTF formats: .glb and .gltf. .glb is the binary format of .gltf. Rhino saves meshes and point clouds to glTF files. Materials and textures can be embedded in the files.
More information about glTF file format
From the File menu, click Open, Insert, Import, or Worksession > Attach.
Options | |
---|---|
Save small |
Though clearing the render meshes makes the file smaller, it will shade and render more slowly the next time you open the file. |
Save geometry only |
Saves geometry objects only. No layers, materials, properties, notes, or units settings are saved. This is similar to exporting the objects. A new file is made, but it does not become your active Rhino model. |
Save textures |
Embeds external textures used by materials, environments and decals into the model. |
Save plugin data | Saves data attached to objects or the document by plug-in applications. |
glTF Export Options
Formatting
glTF is a Y-up 3D format. This option rotates the Rhino model -90 degree around the x-axis. So the up direction of the model will be the same in glTF files.
Exports the materials used by the objects. The materials will be converted to PBR materials. Using only Metallic-Roughness PBR materials allows glTF files to render consistently across platforms. Rhino is able to save more material attributes to glTF through extensions. glTF viewers and downstream applications need to support the same extensions to read the additional material attributes.
Objects using the default material export with their display colors as material colors. Otherwise, a white material is assigned to the objects.
Objects viewed from the back side will be transparent.
Exports layer information of the objects.
Not all glTF viewers and downstream applications support reading layers from glTF files.
Mesh
NURBS surfaces export with the document render mesh settings.
Lines/polylines export as lines/polylines if they do not have curve piping enabled. If they do, the curve piping meshes are exported instead. Other types of curves will not export, but curve piping meshes on them do export.
Exports SubDs in the flat mode as meshes. Otherwise, converts SubDs to meshes with the specified subdivision level.
The slider controls Adaptive meshing level for converting SubDs to meshes.
Makes textures display on objects in glTF files the same as in Rhino.
Exports mesh vertex normals as they are in Rhino. Otherwise, vertex normals will be reset.
Exports objects whether they are open or closed. Otherwise, only closed objects will export.
Exports the color information embedded to mesh vertices. Otherwise, vertex colors will be removed.
The ComputeVertexColors command converts texture colors at mesh vertices to vertex colors. The RebuildMesh command has an option for removing vertex colors from meshes.
Compression
Enable Draco compression to reduce the file size of glTF format. Draco is an open-source library for 3D geometry compression. Draco compression is an extension to glTF. It is usually supported by glTF viewers and downstream applications.
More information about Draco compression
Specifies the 3D geometry compression level from 1 to 10.
Sets the number of bits for quantizing the position, normal, and texture attributes. Higher quantization values usually result in a better compression rate. The compression speed would slow down at the same time. In most cases, setting the values about 11 would not cause noticeable quality changes.
The quantization values for position attributes.
The quantization values for vertex normal attributes.
The quantization values for texture attributes.
Saves the current settings and turns off the dialog display.
See also: ResetMessageBoxes command.
Rhinoceros 8 © 2010-2024 Robert McNeel & Associates. 09-Apr-2024