open-robots-glb / README.md
anxuanng's picture
Add card
646549c verified
|
Raw History Blame Contribute Delete
8.36 kB
metadata
license: other
license_link: https://github.com/robot-descriptions/robot_descriptions.py
pretty_name: Open Robots GLB
tags:
  - 3d
  - glb
  - gltf
  - robotics
  - urdf
  - articulated-objects
  - threejs
  - webgpu
  - godot
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*.parquet

Open Robots GLB

All 30 robots

Open-source 2025-2026 humanoid, biped, quadruped, dual-arm, and manipulator robots converted from URDF to articulated GLB in Y-up metres, grounded at y=0, with no duplicates from codepawl/menagerie-glb.

Moving the joints

Every moving joint (revolute, continuous, prismatic) is a named pivot node whose glTF extras hold robot_joint: { type, axis, lower, upper, unit, parent, child }. Turn or slide that node from its rest pose along its local axis; joints/<id>/<id>.json lists the full kinematic tree. Every GLB also ships an all_joints animation clip so browsers, Godot, and Blender animate all joints out of the box, plus matching collision shapes in collision/.

30 robots from Open Robots 2025-2026 (URDF) by Open Robotics Community, 762.8 MB of source files packed into 88.0 MB of GLB (web tier). Credit: Original robot authors (Unitree Robotics, LimX Dynamics, Apirrone, Enactic, Galaxea AI, BXI Robotics, i2rt Robotics, ANYbotics, ROBOTIS, IIT iCub Tech, Robonine, Tim Qian, Upkie, 1X) plus CC0-1.0 512x512 PBR maps from ambientCG (Metal032, MetalPlates006, PaintedMetal009) and Poly Haven (fabric_leather_02); see LICENSES.md.

Viewer: https://huggingface.co/spaces/codepawl/open-robots-glb-viewer

Files

Folder Size What For
objects/ 88.0 MB meshopt geometry, WebP textures three.js, Babylon.js, any glTF viewer with the meshopt decoder
objects_ktx2/ 95.7 MB meshopt, KTX2 textures (ETC1S colour, UASTC normals), mipmaps WebGPU and WebGL games: textures stay compressed on the GPU
lods/ 93.6 MB three simplified levels aimed at 50, 20 and 6 % of the triangles; each stays within 1, 1.5 and 2 % of the model size from its source, so detailed models keep more distance LOD, crowds, far props
mobile/ 36.6 MB aimed at 25 % of the triangles (within 1.5 % of the model size), textures at most 512 px in KTX2 phones and light laptops
engine/ 280.9 MB no meshopt, no quantization Blender and desktop engines that cannot decode meshopt
collision/ 7.8 MB convex collision shapes, plain glTF Rapier, Jolt, PhysX, Unity colliders

metadata.jsonl has one line per item: title, kind, licence, authors, triangle count and the path and size of every tier. The Dataset Viewer and load_dataset read data/*.parquet: the same rows with the mesh (Mesh, the plain engine/ GLB, decoded by trimesh) and the thumbnail (Image) embedded. Thumbnails are also in thumbs/.

For web games and WebGPU

Load the objects_ktx2/ files for games: KTX2 textures stay block-compressed on the GPU (BC7 on desktop, ASTC or ETC2 on phones), so they take a fraction of the memory of decoded WebP. Use mobile/ on phones. collision/ holds convex shapes for physics.

glTF extensions each tier uses (also per row in metadata.jsonl, field extensions):

  • web: EXT_meshopt_compression, EXT_texture_webp, KHR_mesh_quantization
  • ktx2: EXT_meshopt_compression, KHR_mesh_quantization, KHR_texture_basisu
  • mobile: EXT_meshopt_compression, KHR_mesh_quantization, KHR_texture_basisu
  • engine: none

Measured on 12 items spread over triangle count. Phone page: 390x844 at 3x, pixel ratio capped at 2, CPU throttled 4x, network at Chrome's Fast 4G (150 ms, 9 Mbit/s), so phone load includes the download. The GPU is a desktop RTX 3060 and is not throttled: frame time shows the CPU side only, a real phone GPU is slower. VRAM is geometry plus texture bytes on the GPU.

Tier File (median) VRAM (median) Triangles Phone load (4G) Frame time WebGPU load (local)
web (12) 2.8 MB 16.2 MiB 145,726 2642 ms 1.3 ms 27 ms
ktx2 (12) 3.1 MB 7.6 MiB 145,726 2836 ms 1.2 ms 23 ms
lod2 (12) 0.7 MB 3.9 MiB 32,746 814 ms 0.9 ms 10 ms
mobile (12) 1.1 MB 3.5 MiB 42,472 1096 ms 0.9 ms 11 ms

three.js WebGPU:

import * as THREE from 'three';
import { WebGPURenderer } from 'three/webgpu';
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
import { KTX2Loader } from 'three/addons/loaders/KTX2Loader.js';
import { MeshoptDecoder } from 'three/addons/libs/meshopt_decoder.module.js';

const renderer = new WebGPURenderer({ antialias: true });
await renderer.init(); // KTX2Loader needs to know which compressed formats this device takes
const ktx2 = new KTX2Loader().setTranscoderPath('https://cdn.jsdelivr.net/npm/three@0.187.0/examples/jsm/libs/basis/').detectSupport(renderer);
const loader = new GLTFLoader().setKTX2Loader(ktx2).setMeshoptDecoder(MeshoptDecoder);
const gltf = await loader.loadAsync('https://huggingface.co/datasets/codepawl/open-robots-glb/resolve/main/objects_ktx2/open_duck_mini_v2/open_duck_mini_v2.glb');

Use it in Crucible

Crucible (formerly 67js) loads these files as they are:

npm install @codepawlhq/crucible meshoptimizer
import { CrucibleRenderer } from '@codepawlhq/crucible';
import { loadGltf } from '@codepawlhq/crucible/addons/gltf';
import { MeshoptDecoder } from 'meshoptimizer';

const asset = await loadGltf('https://huggingface.co/datasets/codepawl/open-robots-glb/resolve/main/objects/open_duck_mini_v2/open_duck_mini_v2.glb', { decoders: { meshopt: MeshoptDecoder } });
const renderer = new CrucibleRenderer(document.querySelector('canvas'), asset.parts, { ground: true });
renderer.render({ eye: [1.5, 1.2, 2], target: [0, 0.5, 0] });

loadGltf refuses files over 32 MiB or 2 million vertices by default, and the largest files here pass that, so add maxBytes: 256 * 1024 * 1024, maxVertices: 8_000_000 next to decoders for those.

Tested

Every file was loaded and drawn (drawn pixels counted) in each engine, three.js 0.187.0 and Crucible 0.21.0, files from a local copy of this repository.

After upload, all 337 files on this repository matched the tested local files by sha256, and every tier of 24 items was loaded again from https://huggingface.co/datasets/codepawl/open-robots-glb/resolve/main: three.js WebGL 192/192, three.js WebGPU 192/192, Crucible 192/192.

Tier three.js WebGL three.js WebGPU Crucible
web 30/30 30/30 30/30
ktx2 30/30 30/30 30/30
lod1 30/30 30/30 30/30
lod2 30/30 30/30 30/30
lod3 30/30 30/30 30/30
mobile 30/30 30/30 30/30
engine 30/30 30/30 30/30
collision 30/30 30/30 30/30

Blender 5.2 import: engine 30/30, objects 30/30, collision 30/30.

Converter check: 30/30 passed.

Licence and credit

Original robot authors (Unitree Robotics, LimX Dynamics, Apirrone, Enactic, Galaxea AI, BXI Robotics, i2rt Robotics, ANYbotics, ROBOTIS, IIT iCub Tech, Robonine, Tim Qian, Upkie, 1X) plus CC0-1.0 512x512 PBR maps from ambientCG (Metal032, MetalPlates006, PaintedMetal009) and Poly Haven (fabric_leather_02); see LICENSES.md. Each item keeps its own licence; see LICENSES.md and licenses/.

Changes made: Converted from URDF (Z-up) to glTF 2.0 GLB (Y-up metres, +Z forward, centered on floor y=0): each revolute, continuous, and prismatic joint kept as a pivot node with extras.robot_joint (type, axis, lower, upper), plus joints//.json sidecar and an all_joints sweep clip (upright rest stance held 0-50%, gentle flex 50-100%); box-projected UVs with 512x512 full-contrast CC0 PBR albedo/roughness/normal maps; meshes welded, crease-split (38 deg), and meshopt-compressed; WebP/KTX2/LOD/mobile/engine/collision tiers built.

Source: https://github.com/robot-descriptions/robot_descriptions.py. Packed by CodePawl. Follow CodePawl on X, GitHub, Threads and YouTube.