Skip to content

Commit e69d8bc

Browse files
committed
benchmark render flex
1 parent 40ef9d6 commit e69d8bc

4 files changed

Lines changed: 27 additions & 4 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 `front` camera.
26+
27+
| Property | Value |
28+
|----------|-------|
29+
| Bodies | 918 |
30+
| DoFs | 2706 |
31+
| Actuators | 0 |
32+
| Geoms | 21 |
33+
| Cameras | 1 |
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
]

benchmarks/cloth/mannequin.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,12 @@
107107
<light name="spotlight" mode="targetbodycom" target="torso" diffuse=".8 .8 .8" specular="0.3 0.3 0.3" pos="0 -6 4" cutoff="30"/>
108108
<body name="torso" pos="0 0 1.282" childclass="body">
109109
<light name="top" pos="0 0 2" mode="trackcom"/>
110-
<camera name="back" pos="-3 0 1" xyaxes="0 -1 0 1 0 2" mode="trackcom"/>
111-
<camera name="side" pos="0 -3 1" xyaxes="1 0 0 0 1 2" mode="trackcom"/>
110+
<camera pos="3 0 1" xyaxes="0 1 0 -1 0 2" mode="trackcom"/>
112111
<freejoint name="root"/>
113112
<geom name="torso" fromto="0 -.07 0 0 .07 0" size=".07"/>
114113
<geom name="waist_upper" fromto="-.01 -.06 -.12 -.01 .06 -.12" size=".06"/>
115114
<body name="head" pos="0 0 .19">
116115
<geom name="head" type="sphere" size=".09"/>
117-
<camera name="egocentric" pos=".09 0 0" xyaxes="0 -1 0 .1 0 1" fovy="80"/>
118116
</body>
119117
<body name="neck">
120118
<geom type="cylinder" size=".03" fromto="0 0 .07 0 0 .1"/>
277 KB
Loading

0 commit comments

Comments
 (0)