Definition: glTF (GL Transmission Format) is an open file format from the Khronos Group that delivers 3D models with their materials, textures, animations and scene structure to applications. Since 2022, version 2.0 is standardized as the international standard ISO/IEC 12113:2022. glTF is not an exchange format for design work, but a delivery format: the data is stored so that browsers, apps and headsets can show it directly on the graphics card with little conversion.
In B2B mechanical engineering, glTF is the shared basis for web 3D viewers, 3D product configurators, kiosk terminals at trade shows, AR views on the tablet and VR training.
Advantage: One optimized model, many output channels, without a lock-in to one software vendor.
English: glTF, GL Transmission Format, GLB
German: glTF, 3D-Übertragungsformat
How It Works
Structure of a glTF file
A glTF asset consists of up to three parts:
- JSON description (.gltf): Scene graph with nodes, meshes, materials, cameras and animations
- Binary data (.bin): Geometry (vertices, normals, UV coordinates) in a format that the GPU can use directly
- Images: Textures as PNG, JPEG or compressed as KTX2
GLB: everything in one file
The binary variant GLB packs JSON, geometry and textures into a single file. For websites, content management systems and sharing by link, GLB is usually the more practical choice.
PBR materials
glTF describes surfaces physically based (Physically Based Rendering) with the metallic-roughness model: base color, metalness, roughness, normal map, ambient occlusion and emission. Because of this, brushed stainless steel looks almost the same in different viewers. Extensions add effects such as clearcoat, transmission or anisotropy.
Units and coordinates
The specification sets meters as the unit and the Y axis as "up". This is important for AR: a machine appears at the correct scale in the hall only when the export scaled it correctly.
Extensions for Fast Loading Times
The core of glTF stays lean on purpose. Extensions add more functions. For industrial models, these are the most relevant:
| Extension | Purpose | Benefit |
|---|---|---|
| KHR_draco_mesh_compression | Geometry compression with Draco | Much smaller files for dense meshes |
| EXT_meshopt_compression | Compression at buffer level (meshoptimizer) | Fast decoding, also for animations |
| KHR_mesh_quantization | More compact data types for geometry | Less memory on the GPU |
| KHR_texture_basisu | KTX2 textures with Basis Universal | Textures stay compressed on the GPU |
| KHR_materials_variants | Multiple material variants in one file | Color and equipment changes in the configurator |
The Khronos Group has ratified all five. But a viewer must support the extension. For Draco and meshopt, it also needs a decoder.
glTF Compared with Other Formats
| Criterion | glTF/GLB | USDZ | FBX | OBJ |
|---|---|---|---|---|
| Origin | Khronos, open, ISO standard | Apple, based on OpenUSD | Autodesk, proprietary | Wavefront, open |
| Main purpose | Delivery to web, apps, XR | AR on Apple devices | Exchange between DCC tools | Simple geometry exchange |
| PBR materials | Yes | Yes | Partly, depends on the export | No (MTL only) |
| Animation | Yes | Yes | Yes | No |
| Web support | Very wide | Low | Only through converters | Wide, but without materials |
USDZ is in demand for AR Quick Look on iPhone and iPad. FBX stays common for exchange between animation and modeling programs. OBJ is suitable for pure geometry. In practice, teams often supply a model as GLB for the web and Android, and also as USDZ for Apple devices.
B2B Applications
Sales: 3D viewers and configurators
On the product page, a WebGL viewer loads the GLB of a packaging machine. Customers rotate the model, hide protective covers and switch between versions with material variants. Because common web libraries support glTF, no plugin is necessary.
Trade show: the same model on all screens
At the booth, a kiosk terminal shows the system by touch, a tablet places it in the aisle with augmented reality, and a VR headset lets visitors walk around it at 1:1 scale. All channels use the same glTF file.
Service and spare parts
A service technician opens the model of an assembly on the tablet, selects a component and sees where it is installed. The node structure of glTF lets you name, hide and link individual parts to spare part numbers. When the node names stay intact during the export from the CAD system, you can connect the model with bills of materials or data from the IoT environment, for example to show operating states directly on the component.
Training
For VR training, motion sequences (open a flap, change a tool) are stored as animations in the glTF. The same file runs on the headset in the training room and in the browser for preparation.
Design review
In the review before a special-purpose machine is built, the team shares a simplified model as GLB. Project participants without a CAD license open it by link, add comments and check the space requirements and accessibility. Because the format is open, it does not matter if the customer works with a different CAD system or different visualization software.
From the CAD Model to glTF
Design data (STEP, native CAD formats) describes surfaces with mathematical precision. glTF works with triangle meshes. Because of this, CAD to 3D conversion has several steps:
- Tessellation: Convert surfaces into triangles with a suitable accuracy
- Simplify: Remove internal parts, screws and holes that nobody sees
- Assign materials: Replace CAD colors with PBR materials
- Compress: Draco or meshopt for geometry, KTX2 for textures
- Check: Find errors with the Khronos glTF Validator before the model goes live
Protection of know-how: A glTF contains no design history and no tolerances. But it is still possible to extract geometry from the browser. Thus, remove confidential details before the export (see data security).
Frequently Asked Questions (FAQ)
What is the difference between .gltf and .glb?
Both contain the same data. A .gltf file is readable JSON text and refers to separate binary and image files. A .glb file bundles everything in binary form in one file. For delivery, GLB is usually easier. For troubleshooting, .gltf is clearer.
Can I export CAD data directly as glTF?
Many CAD and visualization programs have a glTF export. But the result is rarely ready for the web immediately: without simplification and compression, models of assemblies are often too large for mobile devices. Thus, an optimization step belongs in every 3D pipeline.
Do I still need USDZ for iPhone and iPad?
For AR Quick Look in Safari, yes, because Apple uses USDZ there. But web viewers in the browser also show glTF on Apple devices. Many companies make both formats from one shared source.
Does glTF support animations and moving parts?
Yes. glTF stores transform animations (translate, rotate, scale), skeletal animations and morph targets. With these, you can play the motion sequences of a machine. Logic such as "press a button, the flap opens" is usually in the application. The ratified extension KHR_interactivity now also describes such behavior in the format itself.
Is glTF future-proof?
glTF is an open, royalty-free standard with an ISO standard, and many companies in the Khronos Group continue to develop it. New functions come as extensions and do not make existing files invalid. Thus, the risk of a format change is low.
Industry Standards and Technologies
- glTF overview from the Khronos Group – official information about the format
- ISO/IEC 12113:2022 – glTF 2.0 as an international standard
- glTF 2.0 Specification – full specification
- glTF Extension Registry – ratified and planned extensions
- Khronos glTF Validator – checks glTF files
- glTF Sample Viewer – reference display from Khronos
Related Topics
Formats: - USDZ – AR format for Apple devices - OBJ – simple geometry format - FBX – exchange format for animation - STEP – neutral CAD format - KTX2 – compressed textures
Technologies: - WebGL – 3D in the browser - Real-time rendering – display in real time - Texture – surface images - 3D pipeline – from the raw model to the application - PBR – physically based materials
Applications: - CAD to 3D conversion – preparing CAD data - 3D product configurators – variants in the browser - Augmented reality – models in the real environment - Virtual reality – immersive training - Digital twin – digital replica
