Remove the convexhull compiler option.
PiperOrigin-RevId: 690307675 Change-Id: I62d8213579ad07296ca96de004d39ae012174aa4
This commit is contained in:
committed by
Copybara-Service
parent
61cb552f8a
commit
7dc8aef807
+1
-13
@@ -772,23 +772,11 @@ has any effect. The settings here are global and apply to the entire model.
|
||||
models compiled with this flag, it is important to remember that collision geoms are often placed in a
|
||||
:ref:`group<body-geom-group>` which is invisible by default.
|
||||
|
||||
.. _compiler-convexhull:
|
||||
|
||||
:at:`convexhull`: :at-val:`[false, true], "true"`
|
||||
If this attribute is "true", the compiler will automatically generate a convex hull for every mesh that is used in at
|
||||
least one non-visual geom (in the sense of the discardvisual attribute above). This is done to speed up collision
|
||||
detection; recall :ref:`Collision` section in the Computation chapter. Even if the mesh is already convex, the hull
|
||||
contains edge information that is not present in the mesh file, so it needs to be constructed. The only reason to
|
||||
disable this feature is to speed up re-loading of a model with large meshes during model editing (since the convex
|
||||
hull computation is the slowest operation performed by the compiler). However once model design is finished, this
|
||||
feature should be enabled, because the availability of convex hulls substantially speeds up collision detection with
|
||||
large meshes.
|
||||
|
||||
.. _compiler-usethread:
|
||||
|
||||
:at:`usethread`: :at-val:`[false, true], "true"`
|
||||
If this attribute is "true", the model compiler will run in multi-threaded mode. Currently multi-threading is used
|
||||
for computing the length ranges of actuators and for loading meshes.
|
||||
for computing the length ranges of actuators and for parallel loading of meshes.
|
||||
|
||||
.. _compiler-fusestatic:
|
||||
|
||||
|
||||
+2
-2
@@ -52,9 +52,9 @@
|
||||
| | | +-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+ |
|
||||
| | | | :ref:`fitaabb<compiler-fitaabb>` | :ref:`eulerseq<compiler-eulerseq>` | :ref:`meshdir<compiler-meshdir>` | :ref:`texturedir<compiler-texturedir>` | |
|
||||
| | | +-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+ |
|
||||
| | | | :ref:`discardvisual<compiler-discardvisual>` | :ref:`convexhull<compiler-convexhull>` | :ref:`usethread<compiler-usethread>` | :ref:`fusestatic<compiler-fusestatic>` | |
|
||||
| | | | :ref:`discardvisual<compiler-discardvisual>` | :ref:`usethread<compiler-usethread>` | :ref:`fusestatic<compiler-fusestatic>` | :ref:`inertiafromgeom<compiler-inertiafromgeom>` | |
|
||||
| | | +-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+ |
|
||||
| | | | :ref:`inertiafromgeom<compiler-inertiafromgeom>` | :ref:`inertiagrouprange<compiler-inertiagrouprange>` | :ref:`assetdir<compiler-assetdir>` | :ref:`alignfree<compiler-alignfree>` | |
|
||||
| | | | :ref:`inertiagrouprange<compiler-inertiagrouprange>` | :ref:`assetdir<compiler-assetdir>` | :ref:`alignfree<compiler-alignfree>` | | |
|
||||
| | | +-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+-----------------------------------------------------------------+ |
|
||||
+------------------------------------+----+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| |_| compiler |br| |_| |L| | | .. table:: |
|
||||
|
||||
@@ -9,6 +9,7 @@ General
|
||||
^^^^^^^
|
||||
- The global compiler flag ``exactmeshinertia`` has been removed and replaced with the mesh-specific
|
||||
:ref:`inertia<asset-mesh-inertia>` attribute.
|
||||
- The not-useful ``convexhull`` compiler option (to disable computation of mesh convex hulls) has been removed.
|
||||
- Removed the deprecated ``mju_rotVecMat`` and ``mju_rotVecMatT`` functions.
|
||||
- Sorting now uses a faster, native sort function (fixes :github:issue:`1638`).
|
||||
- The PBR texture layers introduced in 3.2.1 were refactored from seperate sub-elements to a single
|
||||
|
||||
@@ -1693,7 +1693,6 @@ typedef struct mjsCompiler_ { // compiler options
|
||||
mjtByte degree; // angles in radians or degrees
|
||||
char eulerseq[3]; // sequence for euler rotations
|
||||
mjtByte discardvisual; // discard visual geoms in parser
|
||||
mjtByte convexhull; // compute mesh convex hulls
|
||||
mjtByte usethread; // use multiple threads to speed up compiler
|
||||
mjtByte fusestatic; // fuse static bodies with parent
|
||||
int inertiafromgeom; // use geom inertias (mjtInertiaFromGeom)
|
||||
|
||||
Reference in New Issue
Block a user