Jump to content

rbd fracture to liquids


Recommended Posts

Hi,

I was playing around and trying to get this fracture rbd object to turn to liquid, I found an old post that helped me a little: : http://forums.odforce.net/index.php?showto...l=squishy+fluid

This is what I have managed so far, I'm new to liquids so its not great.

I was hoping someone could have a look and help out on two things.

Firstly when it converts into a liquid it sort of stops mid air and clumps together, losing all movement it seemed to have.

Secondly when I render it out on the really big pieces come out, the rest disapear( I guess they're too small), is there a solution to this or does it all need to be bigger.

Thanks, Mike

http://www.mediafire.com/?gjlqnw2zqn1

Link to comment
Share on other sites

Hi Mike,

To answer your first question, the ExtraData data you created does not contain any values so the particles just birth and stay in place. However, you don't have to create the data because you can query the fractured piece for it's velocity by putting the following in the Initial Velocity parameter of the Particle Fluid Object:

dopoption("../", ch("srcobject"), "Position", "velx")
dopoption("../", ch("srcobject"), "Position", "vely")
dopoption("../", ch("srcobject"), "Position", "velz")

As for your second question, the dopimport1 SOP inside the liquid_surface Object reads only the first particle fluid object but you can get around it with an Object Merge SOP. However, I noticed one of the big fractured pieces does not get converted to particles so I'll leave it for you to figure it out. ;)

I've attached a hip file and did a quick render set up. Please remember to hit the Clear Cache button of the cache1 SOP inside the liquid_surface Object after you make changes to the sim else you'll keep seeing the previous cached version.

Please let me know if you have any questions.

Cheers!

steven

solid_to_liquid_odforce.zip

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