bb1b2db3a9
PiperOrigin-RevId: 771992722 Change-Id: Ifeae9e12f1071018112e697402361caa84095ff2
22 lines
792 B
XML
22 lines
792 B
XML
<mujoco model="mesh test">
|
|
<asset>
|
|
<texture name="diffuse_tex" file="textures/cube.png" type="2d" />
|
|
<texture name="normal_tex" file="textures/normal.png" type="2d" />
|
|
<material name="material_red" rgba="0.8 0 0 1" />
|
|
<material name="material_texture" texture="diffuse_tex" />
|
|
<material name="material_layered">
|
|
<layer texture="diffuse_tex" role="rgb"/>
|
|
<layer texture="normal_tex" role="normal"/>
|
|
</material>
|
|
2d texture="diffuse" normal="normal" />
|
|
<mesh name="tetrahedron" vertex="0 0 0 1 0 0 0 1 0 0 0 1"/>
|
|
</asset>
|
|
<worldbody>
|
|
<body name="test_body">
|
|
<geom material="material_red" type="mesh" mesh="tetrahedron"/>
|
|
<geom material="material_texture" type="mesh" mesh="tetrahedron"/>
|
|
</body>
|
|
</worldbody>
|
|
</mujoco>
|
|
|