how to create a voronoi pattern?

   11955   9   2
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
May I ask how to create a voronoi pattern based a series of random points distributed along a polygon to subdivide this surface?

Thanks!

Attachments:
voronoi.png (11.7 KB)
voronoi.hipnc (31.8 KB)

User Avatar
Member
339 posts
Joined: Aug. 2007
Offline
Triangulate2D (mess with min angle or max area for fancy detail)
Divide with Compute Dual toggled
Polywire for extra realness!

Attachments:
voronoi_212.hipnc (47.7 KB)

Jesse Erickson
Fx Animator
WDAS
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
dear tjeeds,

Thanks for your help!

However, i don't think the method you suggested can produce the voronoi pattern I want. The pattern generated by your nodes is voronoi_a.jpeg which doesn't even include the edge of the square.

Suppose we reduce the points to 3 inside the square, the attached subdivision pattern is what I want (refer to voronoi_b.jpeg)

Can you or anybody else help to suggest a way to do this?

Thanks again!

Attachments:
voronoi_212_506.hipnc (71.3 KB)
voronoi_b.jpg (109.4 KB)
voronoi_a.jpg (76.1 KB)

User Avatar
Member
339 posts
Joined: Aug. 2007
Offline
Fair enough..

Attachments:
voronoi_212_505.hipnc (48.8 KB)

Jesse Erickson
Fx Animator
WDAS
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
hi, tjeeds, thanks for your prompt reply!

However, the pattern generated is still not like the pattern shown in voronoi_b.jpeg ….

do u think I may need to explore using VEX to do this?
User Avatar
Member
339 posts
Joined: Aug. 2007
Offline
Nope, just change put 3 points in the positions they are in in your picture, pipe them in the Triangulate2D and turn off the Refine toggle.
Jesse Erickson
Fx Animator
WDAS
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
Hi, tjeeds, thanks!

It works in Houdini 11.0.581

I guess why I didn't get it work is because I'm using houdini 10.0.595 which doesn't have the voronoisplit node

Attachments:
voronoi_100points.PNG (29.0 KB)

User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
how to create a voronoi pattern on a non-planar surface?

something like this:
http://dumo.tumblr.com/post/1314841536/voronoi-skin-voronoi-pattern-over-any-complex [dumo.tumblr.com]

Thanks!

Attachments:
tumblr_laaqpziE8b1qa65mxo1_500.jpg (34.1 KB)

User Avatar
Member
401 posts
Joined:
Offline
I'd fake this by randomizing the primitive size and a subdivide(Compute Dual)
http://www.sidefx.com/docs/houdini11.0/nodes/sop/divide [sidefx.com]

Is this even a voronoi?

You can copyStamp all sorts of things onto this:
http://www.preset.de/2008/0219/ [preset.de]
this is not a science fair.
User Avatar
Member
401 posts
Joined:
Offline
oat
Hi, tjeeds, thanks!

It works in Houdini 11.0.581

I guess why I didn't get it work is because I'm using houdini 10.0.595 which doesn't have the voronoisplit node

Does this work in 3d as well? Like creating 3d voronoi cells based on the position of the seeds?
this is not a science fair.
  • Quick Links