Jump to content

create flip tank inside object


invadersmustdie

Recommended Posts

hey there, 

im newbie to houdini and here. 

Im trying to achieve fluid in bathtub, easiest way seems like using flip tanks.  But i don't know how to do that with custom shape instead of box. Also i will add some rigid bodies top of that water later.
Also i tried to fill it with particle emitters but i couldn't success. Also how i freeze it after it fills, initial state ? 

In short: bathtub with water, floating rubber duck and some other model in surface. 
attached scene file.

bath.hip

Link to comment
Share on other sites

I would use flipfluid from object for this one.

I downloaded your hip file but the geo wasnt in it so hard to set it up.

 

Lets start of with a empty scene.

1. create a geo node. in this you import your geo for the bathtub.

2. go up one level and create a box.

3. in the box geo, create a object merge node.

4. create a boolean node and connect the object merge and the box node.

5. set up the boolean so that the bathtub deletes the geo you dont want to have fluid in.

6. create a null node in the end.

7. go up one level and select the box geo node and create flipfluid from object.

8. select you bathtub and create a static collision from it.

 

 

 

Link to comment
Share on other sites

5 hours ago, ekan de said:

I would use flipfluid from object for this one.

I downloaded your hip file but the geo wasnt in it so hard to set it up.

 

Lets start of with a empty scene.

1. create a geo node. in this you import your geo for the bathtub.

2. go up one level and create a box.

3. in the box geo, create a object merge node.

4. create a boolean node and connect the object merge and the box node.

5. set up the boolean so that the bathtub deletes the geo you dont want to have fluid in.

6. create a null node in the end.

7. go up one level and select the box geo node and create flipfluid from object.

8. select you bathtub and create a static collision from it.

 

 

 

thanks for an answer.

I tried these when i saw your thread about bottle. 
unfortunately no success on boole because it leaves box outside of battub as well.

Anyway i realized i dont need all fluid stuff only surface is enough so did a simple solution with basic plane shaped in bathtub and displacers for surface in c4d.

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