Jump to content

vellum grains, change amount of clusters over time


sachacarletti

Recommended Posts

Hey guys, I hope you are well, could you help me with something?

I'm trying to create a fracture of an object with vellum grains, I'm using clusters to create the pieces that I want to break and a mask with mops to trigger the simulation, but I would like to increase the amount of cluster over the simulation time, is it possible with cluster attribute?

for example, I would like it to break into large parts first, a few frames ahead, break smaller parts, and then smaller ones, and so on until it turns to dust

Thanks a lot if anyone can give me some tips.

I added a hipfile here

 

thank you!

clusters_odforce.JPG

clusters_v1.hiplc

Link to comment
Share on other sites

@sachacarletti
Interesting .HM , how to make groups of that secondar cluster and where to assign those groups inside sop solver or before on sop level?? totalititus Blockout :blink:
if I have this code_

int pts [] = primpoints(0,@primnum);
int n1 = point(0,'__cluster',pts[0]);
int n2 = point(0,'__cluster',pts[1]);

if(n1 != n2){
    f@breaktreshhold = 10.2 ;
    }
int pts [] = primpoints(0,@primnum);
int c1 = point(0,'__piece',pts[0]);
int c2 = point(0,'__piece',pts[1]);

if(c1 != c2){
    f@breaktreshhold = .04 ;
    }

funny effects ..Thanx for a file Sacha
 

sensor1.gif

sensor1ff.gif

sensor1ff01.gif

sensor1ff01f.gif

VellGrOdforce.hiplc

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