Jump to content

Recursive Division of Primitive


miloshcavitch

Recommended Posts

Hey everyone-

I am currently trying to divide a polygon with a grid centered over it with a random angle, and then voronoi fractured:

 

for each of those voronoi fractures, i want to give them random attributes, then plug them all into the above procedure and do the same thing, and for each of those new fractures the same thing, etc. etc, until my computer runs of RAM.. Just kidding, but you get the idea.

 

I'm relatively new to houdini but since I have done graphics programming and modelling in the past I have gotten comfortable with it quickly.

For this I've tried everything, from making a digital asset and putting the same digital asset inside of it (recursion) to using a solver, but I couldn't get anywhere with either. I also tried using a for loop with feedback but that seems to only effect the original input grid.

If this wasn't too complicated to program I'd use a while loop in vex, but the idea of writing out a polygon slicing program seems like overkill.

There's definitely an easier way to do this?

recursive_division_nodes.PNG

recursive_division.PNG

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...