Destruction node

voronoi_fracture

Voronoi-fractures a closed mesh into convex-cell pieces (intersected with the mesh, so concave shapes give several parts per cell; each connected part becomes its own piece). Cell centres come from input 1's points, or `count` points scattered inside the mesh (optionally clustered around `impact`). Output: watertight triangle pieces with prim `name` (piece0, piece1, ...), prim groups `inside` (cut faces) and `outside`, prim `Cd` (inside faces get inside_color; outer faces keep the input's Cd), other input prim attributes copied to outer faces, detail `pieces`. Feed into glue_constraints and rbd_solver. 60 pieces of a box take well under a second.

Inputs

Parameters 10

countint
Default 40Range 1 to 2000

Number of pieces (cell centres scattered inside the mesh) when input 1 is not connected. 10..300 typical.

seedint
Default 0

Random seed for the scattered cell centres.

clusterfloat
Default 0Range 0 to 1

0 = uniform pieces; towards 1 the cell centres concentrate around `impact`, giving small shards there and big chunks elsewhere.

impactvector 3
Default [0, 0.5, 0]

World position the pieces cluster around (when cluster > 0).

cluster_radiusfloat
Default 0.3Range 0.001 to …

Falloff radius of the clustering as a fraction of the mesh bbox diagonal.

interior_noisefloat
Default 0Range 0 to …

Amplitude of noise on the inside faces as a fraction of the bbox diagonal (0 = flat cuts, 0.01..0.03 = rough stone). Slower.

noise_frequencyfloat
Default 3Range 0.01 to …

Noise frequency in cycles per bbox diagonal.

noise_detailfloat
Default 0.03Range 0.002 to 0.5

Edge length of the noisy cut surfaces as a fraction of the bbox diagonal.

inside_colorcolour
Default [0.82, 0.38, 0.22]

Prim Cd of the new inside (cut) faces.

outside_colorcolour
Default [0.75, 0.75, 0.75]

Prim Cd of outer faces when the input has no Cd.

Use it

Add it from the node menu (right-click empty graph space or Tab, then type voronoi_fracture), ask the AI for it by name, or add it with a graph op from the API or MCP:

{"op":"add","type":"voronoi_fracture","name":"my_voronoi_fracture","params":{},"inputs":["src"]}

Any parameter can also be an expression such as "=sin(F*0.1)". See Parameters & expressions.