Jump to content

FLIP slip field control


ela1995

Recommended Posts

Hi, I'm currently working on a scene where the oil spill on an object. I need to control the slip field so I browse through any video that I can find. I found one pretty interesting, it's a flip test made by Tim Woods on Vimeo. in the comment section, he explained using DotProduct in VOP in DOP level to create Curvature Attraction.

 

This is his explaination: Curvature Attraction is based inside the DOP network as a SolverSOP piped into the Particle Velocity of the Flip Solver. At it's basic level it measures the surface using DotProduct against a vector of 0,1,0. You can use this to mask a test that finds closest mesh position weighted by distance. I also made a mix/slerp the cross product of the surface normal (makes a downward flow normal). This helps keep the flip moving, otherwise in some cases it can slow down when you start to add upward vel to it.

Can someone help me on this part, I don't know how I should wire the DotProduct also how to create the attraction from it. I would be appreciate if someone could give me a hand in this. Thanks in advance.

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