decimate
Reduce mesh triangle count by collapsing vertices to a ratio/target, or dissolve coplanar faces within an angle threshold to simplify geometry.
Instructions
Reduce the triangle count. collapse: merges vertices to reach ratio (0..1 of the current triangles) or
target_tris; it can distort shapes and UVs, so check with compare_view afterwards. planar: dissolves flat faces
whose neighbours differ less than angle degrees (cleans up subdivided flat surfaces without changing the shape).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | collapse | |
| angle | No | ||
| ratio | No | ||
| object | Yes | ||
| target_tris | No |