Contains classes to help decode and interpolate animation curves.
Code related to JSon serialization.
This namespace contains the collection of classes, structures and enumerations that represent the bulk of the low level API to access glTF2 documents.
It also contains the main entry point Object that represents a glTF2 model: ModelRoot
Contains classes and types that can help evaluating a model.
Model evaluation can be useful for these tasks:
- Dumping a raw list of triangles of the whole scene, in their final positions.
- Rendering the model on a graphics engine.
glTF2 stores structured arrays as encoded byte buffers that are not easy to read directly.
To facilitate buffered array IO, the .Memory namespace provides a number of helper classes and structures that let accessing the data seamlessly.
A glTF model usually consist of a scene graph of nodes connected as a visual tree. The relationship between nodes is defined with transforms, usually with 4x4 matrices.
It also handles the way a mesh is brought from its local space to world space, including skinning and morphing.
-
KHR_materials_pbrSpecularGlossiness
- This extension has been declared obsolete by Khronos, in favour of KHR_materials_specular + KHR_materials_IOR
-
- This extension would require a full abstraction layer.
-
- Extension provided by @bertt
-
- Extension provided by @emackey
-
- This extension has been declared obsolete by Khronos
-
- When this extension is used, the model's visual tree needs to be abstracted, which requires an extensive API rework, or a full API layer.
-
- Depends on Google's Draco Project which is C++ and can't be easily linked.