Jump to content

how to paint clustered area by in voronoifracture


Baram

Recommended Posts

Hi,

 

personaly, I think painting is not suitable method for this. definitely possible, but you will probably have a hard time doing that (precision wise) and you can only paint RGBA - that limits you to 4 clusters. that sucks. it you want to control your clustering manually, why don't you do it simply by selection? it will be much faster and more flexible. what exactly are you trying to do?

Link to comment
Share on other sites

  • 2 weeks later...

hi,

 

if you are still trying to figure things out you can take a look at my example in the attachment. this whole rbd packed object workflow in houdini is kind of tricky and takes some time to fully understand how it works. but it is very flexible and efficient when you master it.

 

cheers, D.

manual_fracture_clusters.hiplc

Link to comment
Share on other sites

  • 1 month later...

Great example. I used part of it for a setup I have for a current job, however I'm running into a strange issue. I have 2 sets of constraints exactly as your example. But I can't get my object to break into clusters. It's either breaking into small pieces, or it stays together as a full rigid piece.

 

I'm attaching a simplified version of the file if anyone fancies having a look. What I'm trying to achieve in the bigger picture is a simple object breaking through a surface, cracking it into pieces of different sizes. HOwever I'm unable to get event simple clustering to work. Any help would be greatly appreciated. 

 

The example has a few nodes deactivated (they are normaly responsible for only activating pieces within range of the breaker object to keep the rest from falling down.)

 

 

cracking_example.hip

Edited by Milan
Link to comment
Share on other sites

uh, this was a tricky one! :) took me a while, but then I realised it can't work because your setup is not taking into account the fracturing - see the picture. So the solution is to make your clustering on scattered points before the actual fracturing and then transfer the attribute (voronoi fracture SOP allows that). that's it. I believe it is now obvious to you as well  :) There is the fixed scene just for the case. cheers, D.

cracking_example_fixed.hiplc

post-13807-0-47784300-1459926714_thumb.j

cracking_example_fixed.hiplc

Edited by davpe
Link to comment
Share on other sites

Damn. One of those where you bang your head against the wall once you see the solution. Obvious it is, but frankly, I probably wouldn't notice the problem without taking a day away from it (which I didn't :) ).

 

Thanks a lot. I'm putting you on my 'Owe a beer to...' list ;)

Edited by Milan
Link to comment
Share on other sites

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...