Test scene for shape generators.
PiperOrigin-RevId: 913694536 Change-Id: I49a2a3a4f918f9b80650ce884d3d442581e60d6b
This commit is contained in:
committed by
Copybara-Service
parent
ff4a5673f8
commit
465e574c42
Vendored
+62
@@ -0,0 +1,62 @@
|
||||
<mujoco>
|
||||
<asset>
|
||||
<texture file="test-pattern.png" type="2d"/>
|
||||
<texture name="white" type="2d" builtin="flat" rgb1="1 1 1" width="2" height="2"/>
|
||||
<texture name="grid" type="2d" builtin="checker" rgb1="1 1 1" rgb2="0.9 0.9 0.9" width="64" height="64"/>
|
||||
|
||||
<material name="pattern" texture="test-pattern"/>
|
||||
<material name="floor" reflectance="0.5" texture="grid" texuniform="true"/>
|
||||
<material name="metal" metallic="1.0" roughness="0.0">
|
||||
<layer role="rgb" texture="white"/>
|
||||
<layer role="metallic" texture="white"/>
|
||||
<layer role="roughness" texture="white"/>
|
||||
</material>
|
||||
|
||||
<mesh name="icosahedron"
|
||||
vertex="0 1 1.618
|
||||
0 -1 1.618
|
||||
0 1 -1.618
|
||||
0 -1 -1.618
|
||||
1 1.618 0
|
||||
-1 1.618 0
|
||||
1 -1.618 0
|
||||
-1 -1.618 0
|
||||
1.618 0 1
|
||||
1.618 0 -1
|
||||
-1.618 0 1
|
||||
-1.618 0 -1"/>
|
||||
<hfield name="hfield" nrow="3" ncol="3" size="1 1 0.1 0.1"
|
||||
elevation="1 0 1
|
||||
0 1 0
|
||||
1 0 1"/>
|
||||
|
||||
</asset>
|
||||
<worldbody>
|
||||
<geom name="ground" type="plane" size="12 8 0.1" pos="0 0 -1" material="floor"/>
|
||||
|
||||
<geom type="box" rgba="0.3 0.6 0.9 1.0" size="1 1 1" pos="-9 0 0"/>
|
||||
<geom type="sphere" rgba="0.3 0.6 0.9 1.0" size="1" pos="-6 0 0"/>
|
||||
<geom type="ellipsoid" rgba="0.3 0.6 0.9 1.0" size="1 2 1" pos="0 0 0"/>
|
||||
<geom type="capsule" rgba="0.3 0.6 0.9 1.0" size="1 1" pos="-3 0 1"/>
|
||||
<geom type="cylinder" rgba="0.3 0.6 0.9 1.0" size="1 1" pos="3 0 0"/>
|
||||
<geom type="hfield" hfield="hfield" rgba="0.3 0.6 0.9 1.0" pos="6 0 -0.5"/>
|
||||
<geom type="sdf" mesh="icosahedron" rgba="0.3 0.6 0.9 1.0" pos="9 0 0.809"/>
|
||||
|
||||
<geom type="box" material="pattern" size="1 1 1" pos="-9 5 0"/>
|
||||
<geom type="sphere" material="pattern" size="1" pos="-6 5 0"/>
|
||||
<geom type="ellipsoid" material="pattern" size="1 2 1" pos="0 5 0"/>
|
||||
<geom type="capsule" material="pattern" size="1 1" pos="-3 5 1"/>
|
||||
<geom type="cylinder" material="pattern" size="1 1" pos="3 5 0"/>
|
||||
<geom type="hfield" hfield="hfield" material="pattern" pos="6 5 -0.5"/>
|
||||
<geom type="sdf" mesh="icosahedron" material="pattern" pos="9 5 0.809"/>
|
||||
|
||||
<geom type="box" material="metal" size="1 1 1" pos="-9 -5 0"/>
|
||||
<geom type="sphere" material="metal" size="1" pos="-6 -5 0"/>
|
||||
<geom type="ellipsoid" material="metal" size="1 2 1" pos="0 -5 0"/>
|
||||
<geom type="capsule" material="metal" size="1 1" pos="-3 -5 1"/>
|
||||
<geom type="cylinder" material="metal" size="1 1" pos="3 -5 0"/>
|
||||
<geom type="hfield" hfield="hfield" material="metal" pos="6 -5 -0.5"/>
|
||||
<geom type="sdf" mesh="icosahedron" material="metal" pos="9 -5 0.809"/>
|
||||
|
||||
</worldbody>
|
||||
</mujoco>
|
||||
Vendored
BIN
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
Reference in New Issue
Block a user