Skip to main content

Convex Shape

Ensures that the mesh is convex, applying a Convex Hull correction if necessary.

Parameter table

paramunitrequireddescription
meshNamenoThe name of the mesh to be checked
meshKeyNamenoThe key of the name of the mesh to be checked. This will be used if mesName is undefined.

Detailed description

This rule is designed to ensure that the mesh conforms to convex geometry. It's important to bear in mind that employing a Convex Hull operation on complex meshes can lead to significant changes in their appearance. Additionally, the decision to convert a mesh into a convex form should be made with careful consideration of the potential impact on the mesh's detail, which might be vital for the model's visual accuracy or functionality.

Correction

If the mesh is found to be non-convex, the rule automatically applies (Blender's Convex Hull operation)[https://docs.blender.org/manual/en/latest/modeling/meshes/editing/mesh/convex_hull.html] to correct the mesh, making it convex.

How to setup

The 'Convex Shape' rule helps ensure that meshes are suitable for environments requiring convex geometry for performance and accuracy.

This rule operates without parameters, automatically detecting and correcting non-convex meshes to conform to convex geometry standards.

Creator tips

  • If possible, design your models from the start with convexity in mind, especially for applications that require efficient collision detection or physics simulations.
  • Remember, while the automatic Convex Hull correction ensures convexity, it may oversimplify details. In cases where detail is crucial, it's better to manually adjust the model to maintain both convexity and the necessary level of detail.

Examples

valuevalidmeshNamedescription
suzanneSuzanneSuzanne monkey
convex-suzanneSuzanneSuzanne monkey after applying the convex hull operation