Fracture Voronoi

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.
Midge_S's picture
dbrooksie7's picture

Thank you!

Thank you!

Garp's picture

Hey mariss.

Use VoroFrag instead. It's way better and faster.

mariss274's picture

Flat Objects

I have been using 3D max in school and I am currently using Fracture Voronoi and massfx in a project. My project is a blender that blends up different types of fruit when they are dropped in. Everything has gone well so far except Voronoi will only break up my blueberries which are spheres. When I apply it to my apples, strawberries and raspberries, it gives me a bit of trouble. The apples, strawberries and raspberries are organic shapes because I had to move vertices to create the look. Voronoi causes the apples to go flat and the other to berries to shrink.

Would anyone be able to help me fix this?

Thank you,
Marissa

svet_lana_kouz's picture

How to install the script in 3ds max

I couldn't find either any information about installation of the fracture voronoi script. I installed it as follows: opened my 3ds max, chose MAXScrip Menu and New Scrip there. I copies and pasted all the script text there and saved it in \Programm Files\Autodesk\3ds max**\Scripts as facture_voronoi_v1.1.ms. Closed "New Script" window. To run the script I chose MAXScript menu, clicked "Run Script" and chose the saved file. Hope, my experience can be of any use to somebody. Good luck!

Evandro_ebs's picture

how do I download the file?

how do I download the file?
This page appearing when I click on this file.

http://www.scriptspot.com/files/FractureVoronoi_v1.1.ms

fadly lilik's picture

why I can not take Voronoi

why I can not take Voronoi Fracture. . . whether due to my ignorance. . . Can you help

Rogerio Nobre's picture

Thanks for Script

Very useful script! Thanks for sharing.

Garp's picture

Not really.

What it could use though is a faster algorithm. Right now it's about the worst possible way of doing it.
And the code is damn uggly.
One day I'd like to try something like the DeWall algorithm. One day...

JokerMartini's picture

You ever consider further

You ever consider further developing this?

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

Comment viewing options

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