Fracture Voronoi

292 votes
Version: 
1.1

This script breaks any mesh while preserving its volume.

Additional Info: 

v1.0: The object is broken in a number of chunks equal to 'Nb Parts' to the power of 'Iterations', using Voronoi cells. The final number appears on the 'Break' button.
The creation process is visible in the viewport.
For a similar result, it is faster to use several iterations with a small number of parts than creating all the parts in one iteration.
Note that the original object is just hidden, not deleted.

v1.1: In this version, the code has been improved and runs much faster. But there is no viewport feedback any more.
Materials:
- the outer faces keep their original material IDs and the new faces are assigned a unique ID. The value that appears by default is the highest ID in use (by the original object) + 1.
- mapping coordinates (if any) are preserved and somehow 'projected' onto the new faces.
- an extra planar mapping is applied to all the pieces at once and set on its own channel, typically for use with 3D procedural maps, so the pattern flows continuously from piece to piece but sticks to them when they are moved apart.
Hierarchy:
- when using several iterations, it is possible to keep the intermediate generations of parts.
- when linked, each part is parented to the one it is derived from.
- generations are set on their own layers, which are hidden except for the last one.

Enjoy :)

AttachmentSize
FractureVoronoi_v1.1.ms10.85 KB
FractureVoronoi_v1.0.ms4.67 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
one808's picture

very nice.^_^ thanks.

very nice.^_^
thanks.

summer

drummond's picture

Cheers for the detail Garp,

Cheers for the detail Garp, I have found the other script which does exactly what I want. Thanks for the great work

Drummond

notapix's picture

hi, tnk for your script. i

hi,
tnk for your script.
i have a question please:
could I get a hint of which mode to use to animate all the broken parts of the object?

(sory my bad english).

ciao :)

Garp's picture

Thanks for the kind words,

Thanks for the kind words, guys and girls. That's really nice!

@drummond: the cell centers are generated at random inside the object's volume and true voronoi cells are created from them. If there's more than 1 iteration, the process is repeated. So only parts derived from a same previous part (from the previous iteration) are correct voronoi cells in regard to each other.
If you need control over the cell centers, I have a previous script that accepts coordinates from a text file. Look for 'Voronoi Cells'. That script was experimental. So it's quite slow. But it gets the job done.

drummond's picture

Hi Garp, is this true

Hi Garp,

is this true Voronoi sub-div? How are the spatial centre points established from the users selected objects?

Nice script regardless

hawkarena's picture

Just pick click & break its

Just pick click & break its amazing, thank u very much.

Salve of Allah

Salve of Allah

capcaverna's picture

simply usefull, niceeeeeeeeee

simply usefull, niceeeeeeeeee

The life is Good

99019803's picture

GOOD,thanks very much

GOOD,thanks very much

林建

kutsanan's picture

Thanks for

Thanks for it

cagataykoroglu.blogspot.com

freepanorama.blogspot.com i ll add some images soon...

Michele71's picture

The weather in Rome is

The weather in Rome is beautiful (a bit less for the earthquake in Abruzzo). When you return to Rome let me know!

Ciao
Michele71

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.