ComfyUI Node
Sharpen L0 Minimize (backend)
A ComfyUI node in geompack/smoothing with 4 inputs and 2 outputs.
Sharpen L0 Minimize (backend)
- trimesh
- sharpened_mesh
- info
◄alpha0.0010►
◄beta2.0►
◄iterations10►
Categorygeompack/smoothing
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| trimesh | TRIMESH | — | |
| alpha | FLOAT | 0.00100.0001–0.1 | Initial regularization weight for L0 minimization. Controls the threshold below which normal differences are snapped to zero. Smaller = gentler start, larger = more aggressive initial flattening. |
| beta | FLOAT | 2.01.1–10 | Growth rate for alpha each iteration. Alpha is multiplied by beta each step. 2.0 doubles per iteration. Higher = faster convergence to piecewise-flat. |
| iterations | INT | 101–50 | Number of L0 optimization iterations. The algorithm gradually increases the threshold, snapping more normals flat each step. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| sharpened_mesh | TRIMESH | — |
| info | STRING | — |