Jump to content

Collision Volume


Hans Peter

Recommended Posts

Hi there, 

I've got some strange problems with the collision volumes in flip. The static object itself shows a clean, closed volume; the flip object on the other hand shows me a mess. Nothing is closed, the collision volume seems to be made of stripes. How does this discrepancy between static object and flip object happen regarding collisions? Actually the flip particles are floating inside the object. Got a new ship model and obviously some diffuculties making it work :)

I also tried to use for each loops to convert each single object the shi is made of into volumes in order to merge them together insteat of turning the whole thing into a volume at once. 

Link to comment
Share on other sites

I have run into this as well. You can de-couple FLIP collision resolution from the particle separation. On the FLIP Object node activate Override Collision Separation. This allows you to use a lower value for collision and still keep your particle separation for the fluid.

Also, if your collision object is in direct contact with the fluid, at the start, you may want to subtract your collision shape from the fluid emitter before you begin simming. You can do this using a cookie to subtract the collision object from the emitter source. Basically you don't want any fluid particle inside the collision volume before the simulation begins.

  • Like 1
Link to comment
Share on other sites

Try this- use the deforming object shelf, write out and load the file cache, turn off Use Volume Based Collision Detection on the Static Object. Ignore the FlipFluid collision field. 

Edited by tar
Link to comment
Share on other sites

Try supplying your nice VDB conversion as the Proxy Volume under the Collision TAB of the Static Object inside the AutoDopNetwork.

 

You may be facing a scale issue. If your fluid volume is too large you may never be able to lower the particle separation low enough. Tighten up the FluidSolvers bounding area as close as possible to force more particles into a smaller area.

 

Can you post an example scene?

Link to comment
Share on other sites

whatever works IMO - just test different setups for optimal speed and efficiency. Not sure why the collision guide has come back into vogue - old tech really.

Edited by tar
Link to comment
Share on other sites

yeah - the steps I wrote above *should* use the vdb perfectly. It has on all my tests whilst trying to use el-crappo volume guide only causes slower processing and lesser quality.

Link to comment
Share on other sites

No reason why the saved version of the bgeo and the live version vdb creation shouldn't work. Whenever you run into stuff like this and you know it should be working, why not go back to the basics and create a simple scene to test it out? If the simple scene doesn't work for you then upload that here. It is really hard to debug FLIP simulation issues by just looking at a screenshot.

Out of all the times I have done FLIP simulations, I have never used collision guide either. I am guessing the resurgence of this is from the recent Jeff Wagner webinar. Its not awful if you want to go that route, I just don't see the point. If I want to know what my collision is going to look like, I take a look at it on my static object. That gives me the real representation that I am looking for.

Link to comment
Share on other sites

I'm using this technique for more than a year now and it actually works really good. I don't want a simple hull representation of the ship. That might work for a speed boat or other simples shaped objects but when you got a lot of detail in front of a ship and you make a close up shot it just looks better when the water leaks through fine structures. Or do you know a better way of acieving this? I think to use polygon collision is even worse. 

"No reason why the saved version of the bgeo and the live version vdb creation shouldn't work." Well, I know there is no logical reason but thats how it is atm :) When I use the live vdb version the flip collision gets mad. The saved one miracilly works totally fine. The whole sim is already done without any problems.

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