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
- 0mesh
- 1cell_points
Parameters 10
countintNumber of pieces (cell centres scattered inside the mesh) when input 1 is not connected. 10..300 typical.
seedintRandom seed for the scattered cell centres.
clusterfloat0 = uniform pieces; towards 1 the cell centres concentrate around `impact`, giving small shards there and big chunks elsewhere.
impactvector 3World position the pieces cluster around (when cluster > 0).
cluster_radiusfloatFalloff radius of the clustering as a fraction of the mesh bbox diagonal.
interior_noisefloatAmplitude of noise on the inside faces as a fraction of the bbox diagonal (0 = flat cuts, 0.01..0.03 = rough stone). Slower.
noise_frequencyfloatNoise frequency in cycles per bbox diagonal.
noise_detailfloatEdge length of the noisy cut surfaces as a fraction of the bbox diagonal.
inside_colorcolourPrim Cd of the new inside (cut) faces.
outside_colorcolourPrim 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.