Sample GLB Files: free GLB models by vinish.dev
============================================================

Page: https://vinish.dev/sample-glb-files/
Licence: CC BY 4.0 (see LICENSE.txt). Credit lines: CREDITS.txt.

What is inside
--------------
- 9 GLB test files (binary glTF 2.0), each checking one part of the format, plus previews/.
- All pass the Khronos glTF Validator 2.0 with no errors or warnings.
- race-car-01-meshopt.glb needs a meshopt decoder (three.js: loader.setMeshoptDecoder(MeshoptDecoder)).

Files
-----
cube.glb  (1.9 KB, 12 triangles)
  The smallest useful GLB: one mesh, one material, no textures. Use it to check that a loader or viewer works at all.

uv-grid-cube.glb  (21 KB, 12 triangles)
  Texture loading and UV orientation. Every side should show the grid upright, with A1 at the top left. Upside-down or mirrored letters mean the texture or UVs are flipped.

pbr-spheres.glb  (45 KB, 46,000 triangles)
  Metal and roughness. Left to right, roughness goes from 0 to 1. Bottom to top, metalness goes from 0 to 1. Metal needs an environment map to look right, so a black top row means no environment light.

animated-trs.glb  (32 KB, 1,200 triangles)
  Four animation clips: All, Bounce, Spin and Pulse. Bounce moves with cubic spline keys, Spin turns with linear keys and Pulse scales with step keys, so one file checks all three interpolation types.

morph-targets.glb  (125 KB, 2,976 triangles)
  Two named morph targets, Squash and Flower, with position and normal changes, plus a Morph clip that animates their weights. Target names are in the mesh extras (targetNames), which three.js reads.

skinned-tentacle.glb  (53 KB, 1,648 triangles)
  Skinning: a mesh bent by a chain of four bones, with joints, weights and inverse bind matrices, plus a Wave clip. If the tentacle stays straight while the clip plays, skinning is not working.

race-car-01-meshopt.glb  (40 KB, 2,719 triangles)
  Mesh compression: EXT_meshopt_compression with KHR_mesh_quantization, as made by gltfpack. Both are required, so the loader needs a meshopt decoder (in three.js: loader.setMeshoptDecoder(MeshoptDecoder)). Compare it with the plain Race Car 01.

materials-test.glb  (153 KB, 6,930 triangles)
  Seven material features side by side, left to right: plain, alpha blend (with a cube inside), alpha mask (cut-out holes), double-sided (an open pipe you can see into), emissive, unlit (KHR_materials_unlit) and vertex colours, on a textured floor.

car-park-large-scene.glb  (1.3 MB, 388,476 triangles)
  A big scene for performance tests: 144 cars and about 870 nodes that share 12 meshes, so a 1.4 MB file draws over 380,000 triangles in a few thousand draw calls. Good for checking frame rate, culling and instancing.


How to use
----------
three.js: GLTFLoader. Unity: the glTFast package (com.unity.cloud.gltfast). Godot 4: drop the .glb in the
FileSystem dock. Blender: File > Import > glTF 2.0, and export to FBX, OBJ or STL from there if you need to.

More free models: https://vinish.dev/free-3d-models/
