Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions benchmarks/cloth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,19 @@ A soft-body simulation benchmark featuring a cloth draped over the MuJoCo humano

![cloth](rollout.webp)

### cloth_render

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.

| Property | Value |
|----------|-------|
| Bodies | 918 |
| DoFs | 2706 |
| Actuators | 0 |
| Geoms | 21 |
| Cameras | 1 |
| Resolution | 64×64 |
| Worlds | 2048 |

![cloth_render](rollout_cloth_render.webp)

11 changes: 10 additions & 1 deletion benchmarks/cloth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,14 @@
"nworld": 32,
"nconmax": 4000,
"njmax": 32000,
}
},
{
"name": "cloth_render",
"mjcf": "scene.xml",
"function": "render",
"nworld": 2048,
"nconmax": 4000,
"njmax": 32000,
"nstep": 200,
},
]
4 changes: 1 addition & 3 deletions benchmarks/cloth/mannequin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,12 @@
<light name="spotlight" mode="targetbodycom" target="torso" diffuse=".8 .8 .8" specular="0.3 0.3 0.3" pos="0 -6 4" cutoff="30"/>
<body name="torso" pos="0 0 1.282" childclass="body">
<light name="top" pos="0 0 2" mode="trackcom"/>
<camera name="back" pos="-3 0 1" xyaxes="0 -1 0 1 0 2" mode="trackcom"/>
<camera name="side" pos="0 -3 1" xyaxes="1 0 0 0 1 2" mode="trackcom"/>
<camera pos="3 0 1" xyaxes="0 1 0 -1 0 2" mode="trackcom"/>
<freejoint name="root"/>
<geom name="torso" fromto="0 -.07 0 0 .07 0" size=".07"/>
<geom name="waist_upper" fromto="-.01 -.06 -.12 -.01 .06 -.12" size=".06"/>
<body name="head" pos="0 0 .19">
<geom name="head" type="sphere" size=".09"/>
<camera name="egocentric" pos=".09 0 0" xyaxes="0 -1 0 .1 0 1" fovy="80"/>
</body>
<body name="neck">
<geom type="cylinder" size=".03" fromto="0 0 .07 0 0 .1"/>
Expand Down
Binary file added benchmarks/cloth/rollout_cloth_render.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading