This is a program for viewing glTF sample assets. It is written in C++ using OpenGL.
- glTF 1.0
- glTF 2.0 - See the full list.
Sample glTF 2.0 models are provided in one or more of the following forms of glTF:
- glTF (
.gltf
) with separate resources:.bin
(geometry, animation, skins) and.jpg
or.png
image files. The supporting files are easily examined when separated like this, but must be kept together with the parent glTF file for the model to work. - glTF (
.gltf
) with embedded resources (as Data URIs). This form tends to be larger than the others, but Data URIs do have their uses. - Binary glTF (
.glb
) using the binary container format. These are easily shared due to the bundling of all the textures and mesh data into a single file.
See the README.md
in each model's directory for license information.
Sample models help the glTF ecosystem, if you are able to contribute a model, see the contributing section below.
- Sketchfab offers auto-conversion of all of its downloadable models, including PBR models, to glTF format.
- Poimandres Market offers 3D assets for download in glTF format.
- Poly Haven offers CC0 (public domain equivalent) HDRIs, PBR textures, and glTF models.
For addition glTF models, see:
- Khronos glTF Asset Generator offers an extensive suite of test models to exercise each part of the glTF specification.
- Cesium's demo models and unit test models.
- Flightradar24's GitHub repo of aircrafts.
- Kenney • Assets hundreds of themed low-poly assets (nature, space, castle, furniture, etc.) provided by Kenney under CC0 licenses, including 30+ pirate themed models.
- Smithsonian open access 3D models
We appreciate sample model contributions; they help ensure a consistent glTF ecosystem.
To contribute a model, open a pull request with:
- A new subdirectory containing
- The model in as many glTF variations as reasonable (using the same directory structure as the others (example)). Tools for converting to glTF are here.
- A screenshot of the model, stored in a subdirectory called
/screenshot
- A README.md with information about the model. As shown in this example, this file should at least include the following elements:
- The name or title of the model
- An embedding of the screenshot
- Information about the license under which the model is published. We recommend to use a permissive license like Creative Commons Attribution 4.0 International License or even Creative Commons 1.0 Universal Public Domain Dedication , to allow people to share and adapt the models for their own use.
- Add the new model to the appropriate table.
If you have any questions, submit an issue.