Jump to content

FLIP substeps for fast moving boat


dleonhardt

Recommended Posts

Hello dear odforce users.

I have a question regarding substepping with fast moving colliders.

I have a catamaran speed boat which is driving in a straight line at roughly 60km/h. I added some procedural animation to the boat with the help of the ocean spectrum, that drives the wavetank, and CHOPs. Currently the simulation uses 6/8 Substeps on the FLIP Solver and the Solver has access to the sub-frame collision geometry.

The problem I'm running into is that the trail left by the boats keels has visible stepping in position and velocity, which causes tendrils to shoot up in the boats wake. This doesn't look good together with motion blur.

Should I increase substeps further to get rid of the stepping by brute force?
Work out a whitewater setup to mask this behavior?
Or is there anything else you can recommend in this case?

I'm thankful for any suggestions.

P.S. Unfortunatly I can't provide any scene files

Link to comment
Share on other sites

Hi there,

Just curious what do you mean the Solver has access to the sub-frame collision geometry? Have you tried to use a trail sop to trail your animation yet?

If not, I would try to create all the sub-frame animation as much as possible before completely relying on solver's substep. Based on the speed, put down a timeblend and then set something like Trail Length 10, Trail Increment 0.1, then convert it to sdf.

Hope this would help.

Link to comment
Share on other sites

1 hour ago, jimeng20 said:

Just curious what do you mean the Solver has access to the sub-frame collision geometry?

 

What I mean by that is if I go through the timeline in 1/x increments, my collision SDF is moving accordingly inside the DOPnet.

I set up my collision object similarly to this quicktip: 

But I will still try out your suggestion with the timeblend. Thank you.

Edited by dleonhardt
Link to comment
Share on other sites

I would trail the collision geo and convert into sdf in the sop, cache out and you can either use it as a proxy volume in the static object or, you can create colliison and collisionvel and use in the dop as collision fields.

If you are going to try the collision/collisionvel, make sure you wire the volume source to your THIRD INPUT of the flipsolver instead of the forth.

Basically, only rely on the substep in the solver is very expensive, the dop is trying to figuring out the sub-frame information during the sim, and apparently, you can prepare the sub-frame info in the sop, cache out, and dop just need to read it in. 

It will be much faster if you have trailed your collision animation 1/5 increment and put substep 2 in solver than try to calculate sub-frame while siming with 10 substeps.

Hope this would help.

 

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