Jump to content

Control Switch with If Statement


Yon

Recommended Posts

Hey,

I have two pieces from a RBD simulation - one displaced and the original piece. The displacement looks very nice but now cracks are very apparent before the destruction has taken place (in rest). I thought putting the displaced and original in a switch and telling it to = 1 if @active = 1 may be dumb enough to work. Can som1 share how to do this ( I'm a beginner I know) or perhaps another technique to hide the fracture lines.

I attached the displacement tool , you probably know where it is from :D just bring depth and amplitudes up and should work

Displacement.hdanc

Link to comment
Share on other sites

displace_active.gif

Transfer displaced position to active pieces. Use Attribute Transfer to smooth active attribute in 3D space to get displace on nearby static pieces. When pieces are inactive, they are not affected, so, make pieces active before, which I think you already did. It may be more convenient to compute "@detached" attribute in post-sim stage and use it instead of @active. It allows for more direct approach, in case you have problems with managing @active for this workflow.

displace_active.hipnc

 

Edited by f1480187
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...