Skip to content

Commit 0c30971

Browse files
committed
benchmark render flex
1 parent 40ef9d6 commit 0c30971

4 files changed

Lines changed: 44 additions & 2 deletions

File tree

benchmarks/cloth/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,19 @@ A soft-body simulation benchmark featuring a cloth draped over the MuJoCo humano
2020

2121
![cloth](rollout.webp)
2222

23+
### cloth_render
24+
25+
GPU ray-traced rendering of the draping soft-body flex cloth scene. This benchmark measures rendering performance of deformable meshes and soft-body grids on the GPU. The rollout video below is rendered from the viewpoint of the pre-defined `back` camera.
26+
27+
| Property | Value |
28+
|----------|-------|
29+
| Bodies | 918 |
30+
| DoFs | 2706 |
31+
| Actuators | 0 |
32+
| Geoms | 21 |
33+
| Cameras | 3 |
34+
| Resolution | 64×64 |
35+
| Worlds | 2048 |
36+
37+
![cloth_render](rollout_cloth_render.webp)
38+

benchmarks/cloth/__init__.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,14 @@
55
"nworld": 32,
66
"nconmax": 4000,
77
"njmax": 32000,
8-
}
8+
},
9+
{
10+
"name": "cloth_render",
11+
"mjcf": "scene.xml",
12+
"function": "render",
13+
"nworld": 2048,
14+
"nconmax": 4000,
15+
"njmax": 32000,
16+
"nstep": 200,
17+
},
918
]
1010 KB
Loading

benchmarks/render/README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22

33
## Description
44

5-
GPU ray-traced rendering of the [primitives](../../mujoco_warp/test_data/primitives.xml) scene. This benchmark measures rendering performance using a 5×5 grid of spheres, capsules, ellipsoids, cylinders, and boxes above a plane.
5+
GPU ray-traced rendering performance benchmarks. These benchmarks measure rendering speed across both simple rigid layouts and complex soft-body flex objects on the GPU.
66

77
### primitives
88

9+
GPU ray-traced rendering of the [primitives](../../mujoco_warp/test_data/primitives.xml) scene. This benchmark measures rendering performance using a 5×5 grid of spheres, capsules, ellipsoids, cylinders, and boxes above a plane.
10+
911
| Property | Value |
1012
|----------|-------|
1113
| Bodies | 126 |
@@ -16,3 +18,18 @@ GPU ray-traced rendering of the [primitives](../../mujoco_warp/test_data/primiti
1618
| Worlds | 8192 |
1719

1820
![primitives](primitives.webp)
21+
22+
### cloth
23+
24+
GPU ray-traced rendering of the MuJoCo [Cloth](cloth.xml) scene featuring a towel poncho draped over a humanoid mannequin. This benchmark measures rendering and shading performance of deformable soft-body grids (MuJoCo flexcomp objects).
25+
26+
| Property | Value |
27+
|----------|-------|
28+
| Bodies | 918 |
29+
| DoFs | 2706 |
30+
| Geoms | 21 |
31+
| Cameras | 3 |
32+
| Resolution | 64×64 |
33+
| Worlds | 2048 |
34+
35+
![cloth](cloth.webp)

0 commit comments

Comments
 (0)