Improve mesh-fitting image in changelog.
PiperOrigin-RevId: 500782543 Change-Id: Iecec45abd3cb1e5a06df58ae32ebe1998584024a
This commit is contained in:
committed by
Copybara-Service
parent
703b33c064
commit
adf71cc6b4
+4
-3
@@ -11,14 +11,15 @@ General
|
||||
- The function :ref:`mj_name2id` is now implemented using a hash function instead of a linear search for better
|
||||
performance.
|
||||
|
||||
.. image:: images/changelog/meshfit.png
|
||||
:align: right
|
||||
:width: 300px
|
||||
|
||||
Bug fixes
|
||||
^^^^^^^^^
|
||||
|
||||
- Fixed misalignment bug in mesh-to-primitive fitting when using the bounding box fitting option :at:`fitaabb`.
|
||||
|
||||
.. image:: images/changelog/aabb.png
|
||||
:width: 300px
|
||||
|
||||
Version 2.3.1 (December 6, 2022)
|
||||
-----------------------------------
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 116 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
Vendored
+7
-5
@@ -1,8 +1,10 @@
|
||||
<mujoco>
|
||||
<compiler fitaabb="true"/>
|
||||
|
||||
<asset>
|
||||
<mesh file="stanford_bunny.obj"/>
|
||||
</asset>
|
||||
|
||||
<worldbody>
|
||||
<body euler="90 0 0">
|
||||
<geom type="mesh" mesh="stanford_bunny"/>
|
||||
@@ -20,19 +22,19 @@
|
||||
<geom type="mesh" mesh="stanford_bunny"/>
|
||||
</body>
|
||||
<body euler="90 0 0">
|
||||
<geom name="bunny_sphere" type="sphere" mesh="stanford_bunny"/>
|
||||
<geom name="bunny_sphere" type="sphere" mesh="stanford_bunny" rgba="1 0 1 1"/>
|
||||
</body>
|
||||
<body euler="90 0 0" pos=".25 0 0">
|
||||
<geom name="bunny_capsule" type="capsule" mesh="stanford_bunny"/>
|
||||
<geom name="bunny_capsule" type="capsule" mesh="stanford_bunny" rgba="1 0 1 1"/>
|
||||
</body>
|
||||
<body euler="90 0 0" pos=".5 0 0">
|
||||
<geom name="bunny_ellipsoid" type="ellipsoid" mesh="stanford_bunny"/>
|
||||
<geom name="bunny_ellipsoid" type="ellipsoid" mesh="stanford_bunny" rgba="1 0 1 1"/>
|
||||
</body>
|
||||
<body euler="90 0 0" pos=".75 0 0">
|
||||
<geom name="bunny_cylinder" type="cylinder" mesh="stanford_bunny"/>
|
||||
<geom name="bunny_cylinder" type="cylinder" mesh="stanford_bunny" rgba="1 0 1 1"/>
|
||||
</body>
|
||||
<body euler="90 0 0" pos="1 0 0">
|
||||
<geom name="bunny_box" type="box" mesh="stanford_bunny"/>
|
||||
<geom name="bunny_box" type="box" mesh="stanford_bunny" rgba="1 0 1 1"/>
|
||||
</body>
|
||||
<light name="left" pos="0 0 1"/>
|
||||
<light name="right" pos="1 0 1"/>
|
||||
|
||||
+8
-6
@@ -1,8 +1,10 @@
|
||||
<mujoco>
|
||||
<compiler fitaabb="false"/>
|
||||
<compiler fitaabb="false" exactmeshinertia="true"/>
|
||||
|
||||
<asset>
|
||||
<mesh file="stanford_bunny.obj"/>
|
||||
</asset>
|
||||
|
||||
<worldbody>
|
||||
<body euler="90 0 0">
|
||||
<geom type="mesh" mesh="stanford_bunny"/>
|
||||
@@ -20,19 +22,19 @@
|
||||
<geom type="mesh" mesh="stanford_bunny"/>
|
||||
</body>
|
||||
<body euler="90 0 0">
|
||||
<geom name="bunny_sphere" type="sphere" mesh="stanford_bunny"/>
|
||||
<geom name="bunny_sphere" type="sphere" mesh="stanford_bunny" rgba="1 0 1 1"/>
|
||||
</body>
|
||||
<body euler="90 0 0" pos=".25 0 0">
|
||||
<geom name="bunny_capsule" type="capsule" mesh="stanford_bunny"/>
|
||||
<geom name="bunny_capsule" type="capsule" mesh="stanford_bunny" rgba="1 0 1 1"/>
|
||||
</body>
|
||||
<body euler="90 0 0" pos=".5 0 0">
|
||||
<geom name="bunny_ellipsoid" type="ellipsoid" mesh="stanford_bunny"/>
|
||||
<geom name="bunny_ellipsoid" type="ellipsoid" mesh="stanford_bunny" rgba="1 0 1 1"/>
|
||||
</body>
|
||||
<body euler="90 0 0" pos=".75 0 0">
|
||||
<geom name="bunny_cylinder" type="cylinder" mesh="stanford_bunny"/>
|
||||
<geom name="bunny_cylinder" type="cylinder" mesh="stanford_bunny" rgba="1 0 1 1"/>
|
||||
</body>
|
||||
<body euler="90 0 0" pos="1 0 0">
|
||||
<geom name="bunny_box" type="box" mesh="stanford_bunny"/>
|
||||
<geom name="bunny_box" type="box" mesh="stanford_bunny" rgba="1 0 1 1"/>
|
||||
</body>
|
||||
<light name="left" pos="0 0 1"/>
|
||||
<light name="right" pos="1 0 1"/>
|
||||
|
||||
Reference in New Issue
Block a user