create_lod
Generate a level-of-detail chain by duplicating the mesh and applying decimation ratios, leaving the source untouched. Returns triangle counts per level to validate savings.
Instructions
Generate an LOD chain by duplicating and decimating.
Creates _LOD0, _LOD1, ... and NEVER modifies the source object. Returns the triangle count of each level so you can see what each step actually saved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Source mesh object | |
| apply | No | Bake the decimation. False leaves live Decimate modifiers you can still tune. | |
| ratios | No | Face-keep ratio per level; the first is normally 1.0 for an untouched LOD0 | |
| x_offset | No | Spread the levels along X so you can render them side by side | |
| base_name | No | Base for the LOD names; defaults to the source object's name | |
| collection | No | ||
| triangulate | No |