Voronoi fracturing: Choseing the shape of the fractures

   8237   5   2
User Avatar
Member
54 posts
Joined: Oct. 2011
Offline
Hello,
I am trying to find out how to step up a fracture where I can dictate how the pieces look when an object fractures. In the still image I've attached look at how the character is broken up into even small size cubes(Tron). I know the basics of how to set up a Voronoi fracture in houdini, my question is how do you tell Houdini that I want my object to breakup into small cubes, or any shape.

Attachments:
Tron - cubes.png (1.4 MB)

User Avatar
Member
512 posts
Joined: July 2009
Offline
here's 2 quick ways of doing it.

~ Manu

Attachments:
break_into_cubes_Manu.hipnc (125.2 KB)

http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
54 posts
Joined: Oct. 2011
Offline
Thanks Manuel for the hip file. Those are some great solutions. What if I wanted to use something more complicated like a hexagonal shape for the pieces? Would it be a more complicated setup?

-Jim
User Avatar
Member
512 posts
Joined: July 2009
Offline
well with Voronoi that's not going to be possible,
the nature of the algorithm itself doesn't allow anything like that,
feel free to read about it in detail:

http://en.wikipedia.org/wiki/Voronoi_diagram [en.wikipedia.org]

of course you could always instance any shape onto the cubes after they've been simulated and fake the crumble - reveal in comp!?
http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
1743 posts
Joined: March 2012
Offline
You should be able to get a Voronoi diagram of all hexagonal prisms if you want: just have a equilateral-triangular grid of points and the Voronoi diagram will be all regular hexagons. That said, you won't be able to get arbitrary shapes, unless there's some way to very elaborately mess around with how it measures distance. Alternatively, you could fracture it more finely and re-combine things, which might give more flexibility.
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
User Avatar
Member
54 posts
Joined: Oct. 2011
Offline
Thanks guys for the info. The Voronoi document was very helpful in understanding how it works.
  • Quick Links