Skip to content
Novus Examples
glb1 KB

Vertex-coloured Cube (GLB)

A cube with a different colour at each of its eight vertices, interpolated across the faces (COLOR_0 attribute) — as a GLB. Paired with a PLY twin, for testing per-vertex colour handling.

Loading 3D preview…

Specifications

Format
glTF 2.0 binary (GLB)
Attribute
COLOR_0 (per-vertex RGB)
Vertices
8

What is a .glb file?

GLB is the binary form of glTF, packaging 3D scene geometry, materials, textures, animations, and node hierarchy into a single self-contained file. It is optimized for efficient runtime loading and is often called the JPEG of 3D. It is widely used in web, AR, and real-time 3D applications.

How to use this file

Use an example GLB to test glTF loaders, embedded-texture and animation handling, and real-time rendering pipelines in web or game engines.

Code examples

import trimesh  # pip install trimesh

mesh = trimesh.load("gradient-cube.glb")
print(mesh.bounds, mesh.faces.shape)

Generated by generation/models_realistic.py. Free for any use, no attribution required — license.