Allow height-field elevation data to be specified in XML.
PiperOrigin-RevId: 602374498 Change-Id: I2d3364d68876a35799b24aca1051e2f5aebdda75
This commit is contained in:
committed by
Copybara-Service
parent
e6847f843d
commit
e143b3dbc0
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
<mujoco>
|
||||
<asset>
|
||||
<hfield name="hfield" file="hfield.png" size="0.5 0.5 0.05 0.1"/>
|
||||
<texture name="hfield" type="2d" file="hfield.png"/>
|
||||
<material name="hfield" texture="hfield"/>
|
||||
</asset>
|
||||
|
||||
<worldbody>
|
||||
<light pos="-.4 .6 1"/>
|
||||
<geom type="hfield" hfield="hfield" pos="-.4 .6 .05" material="hfield"/>
|
||||
</worldbody>
|
||||
</mujoco>
|
||||
Reference in New Issue
Block a user