Datasets:
File size: 7,517 Bytes
37b6c77 2bd8c6c 37b6c77 2bd8c6c 37b6c77 2bd8c6c 37b6c77 48786ba 3281416 fd3fd3e 37b6c77 2bd8c6c 3281416 37b6c77 2bd8c6c 37b6c77 2bd8c6c 37b6c77 2bd8c6c 3281416 2bd8c6c 48786ba 2bd8c6c 37b6c77 bb300be e521722 bb300be 2bd8c6c 3281416 bb300be 2bd8c6c fd3fd3e 2bd8c6c 37b6c77 bb300be 37b6c77 e521722 2bd8c6c e521722 bb300be 3281416 fd3fd3e 2bd8c6c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | ---
license: cc-by-4.0
pretty_name: SimReady GLB
tags:
- 3d
- gltf
- glb
- web
- three.js
- simready
- nvidia
size_categories:
- 1K<n<10K
configs:
- config_name: default
data_files:
- split: train
path:
- "thumbs/*.webp"
- "thumbs/metadata.jsonl"
---
# SimReady GLB

**[Open the 3D viewer](https://huggingface.co/spaces/codepawl/simready-glb-viewer)** to search all 2,595 models and
orbit any of them in the browser.
Web-ready glTF binary (`.glb`) copies of the 3D models in
[nvidia/simready-assets](https://huggingface.co/datasets/nvidia/simready-assets). Each file loads directly in
three.js, Babylon.js, model-viewer or any glTF 2.0 viewer.
Models by NVIDIA SimReady, licensed CC BY 4.0. This dataset converts and compresses them. It does not change what
they show. If you use these files, credit NVIDIA as the original author and link the source dataset.
| | Blender export | This dataset |
|---|---|---|
| Assets | 2,595 | 2,595 |
| Total size | 228.1 GB | 3.2 GB |
| Triangles | 821M | 415M |
| Largest texture edge | 4096 px | 1024 px |
Example: the V8 engine (`engineAssembly_v8_engine_a01`) is an 888 MB glb out of Blender and
7.4 MB here. Its first frame in Chrome took 9.4 s before and 0.57 s after.
## What is in it
- `glb/<asset>.glb`: one file per SimReady asset folder, named like the folder in the source dataset.
- `thumbs/<asset>.webp`: a 512 px render of each glb, with `thumbs/metadata.jsonl` holding its category, size,
triangles and draw calls. The Dataset Viewer above shows this table.
- `manifest.jsonl`: one line per asset with size, triangles, draw calls and textures before and after optimization.
## Download
All files, about 3.2 GB:
```bash
hf download codepawl/simready-glb --repo-type dataset --local-dir simready-glb
```
One category, for example every food model:
```bash
hf download codepawl/simready-glb --repo-type dataset --include "glb/food_*" --local-dir simready-glb
```
One file from Python:
```python
from huggingface_hub import hf_hub_download
path = hf_hub_download("codepawl/simready-glb", "glb/engineAssembly_v8_engine_a01.glb", repo_type="dataset")
```
## Loading in three.js
The geometry uses `EXT_meshopt_compression` and the textures use `EXT_texture_webp`, so set the meshopt decoder:
```js
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
import { MeshoptDecoder } from 'three/addons/libs/meshopt_decoder.module.js';
const loader = new GLTFLoader();
loader.setMeshoptDecoder(MeshoptDecoder);
loader.load('engineAssembly_v8_engine_a01.glb', (gltf) => scene.add(gltf.scene));
```
## Physics and moving parts
2,587 files carry the rigid bodies, mass and physics materials of their SimReady USD. 929 of
them also carry joints, 5,550 in all: door hinges, drawer slides, buttons, wheels and lids. Each file holds
this data in two forms:
- `KHR_physics_rigid_bodies`, the Khronos glTF physics extension. Each part has a `motion` with its mass, center of
mass and inertia. Each mesh has a convex hull `collider` with friction and restitution. Each joint has its limits.
Loaders that do not read the extension ignore it.
- Plain node extras, which three.js puts in `object.userData`. A moving part has
`joints: [{ type, parent, pivot, axis, min, max, unit }]`, with the pivot and axis in model space at rest.
Revolute limits are in degrees and prismatic limits are in meters. Parts also have `mass` in kg and `density` in
kg/m³.
Open a door or a drawer in three.js from its rest pose (the part's parent is at the model origin):
```js
import * as THREE from 'three';
function movePart(part, value) {
const { type, pivot, axis } = part.userData.joints[0];
const direction = new THREE.Vector3(...axis);
if (type === 'prismatic') {
part.position.addScaledVector(direction, value);
return;
}
const turn = new THREE.Quaternion().setFromAxisAngle(direction, THREE.MathUtils.degToRad(value));
const center = new THREE.Vector3(...pivot);
part.position.sub(center).applyQuaternion(turn).add(center);
part.quaternion.premultiply(turn);
}
movePart(gltf.scene.getObjectByName('door_01_obj_00'), 90);
```
The 3D viewer shows a slider for each moving part. The files from before the physics data are kept at the `v1` tag:
add `--revision v1` to the download command.
## How the files were made
1. Download `simready_usd/` from each asset folder. `source_assets/` is skipped because it holds a second copy of
the textures for MDL shaders.
2. Check that `.metadata/LICENSE.txt` is CC BY 4.0.
3. Import the USD in Blender 5.2 and remove the collision, proxy and grasp helper prims. Export a glb with the
original textures.
4. Optimize with glTF Transform 4.5. Remove the USD instance prototypes Blender brings in next to the placed parts,
remove duplicate mesh instances, then dedup, prune and weld.
5. Resize textures to 1024 px as WebP. Compress geometry with meshopt at its high level
(`EXT_meshopt_compression` with octahedral normals and quantized attributes).
6. Read the rigid bodies, mass, physics materials and joints from the USD layers and write them into the glb JSON.
The USD is Z-up, so joint frames and axes are turned to the glb's Y-up.
Assets with UDIM textures have each tile split into its own material before the export, with its UVs moved into 0-1.
Blender's own UDIM handling in the glTF exporter drops the faces of some tiles.
No mesh simplification is applied. The triangle drop comes from removed duplicates and helper geometry.
The conversion scripts are in
[codepawl/3d-builds](https://github.com/codepawl/3d-builds/tree/main/works/2026-10-28-simready-showcase/batch).
## Known gaps
SimReady collides with signed distance fields built from each render mesh. The glbs use the convex hull of each
mesh instead, which every engine can build, so hollow parts such as a cabinet body or a basket collide as if filled.
`KHR_physics_rigid_bodies` is still a Khronos review draft, so check that your engine reads it; the node extras work
with any loader. Joint drives and USD simulation settings are not carried over. Materials are converted to glTF PBR,
so MDL-only shader effects are lost.
Two joints in the USD are left out because they hold nothing: the fixed joint of
`ladder_multiPurpose_aluminium_a05` points at a part with no rigid body, and one fixed joint of
`serviceTool_brakeCaliper_pistonWindBackKit_a01` joins a body to itself.
## Changelog
- 2026-10-29: Added physics from the USD files: rigid bodies, mass, physics materials and 5,550 joints, as
`KHR_physics_rigid_bodies` and as node extras. The viewer shows a slider for each moving part. The files before this
change are at the `v1` tag.
- 2026-10-29: Geometry is encoded at meshopt's high level. The set went from 4.0 GB to 3.2 GB with the same
triangles and no visible change in any of the 2,595 thumbnails.
- 2026-10-29: 52 files with UDIM textures were missing geometry, because Blender's glTF exporter dropped
the faces of some texture tiles (for example crate_plywood_b01 kept only its metal frame). They are exported again
with the tiles split before the export.
- 2026-10-29: 1,305 files carried a second copy of some parts at the origin, the USD instance prototypes
Blender imports next to the placed parts (for example the eyeglasses showed two pairs of arms). Those copies are
removed. Added thumbnails, the Dataset Viewer table and the 3D viewer Space.
- 2026-10-28: first release.
|