How to do water attraction to floating object

   3093   4   2
User Avatar
Member
55 posts
Joined: 4月 2019
Offline
I'm trying to mimic water attraction to a floating object like the image below. Not sure if I'm using the correct term for it but it's the curved water around the leaf that's getting attracted to it. It's similar to metaballs attraction to each other.



I've tried doing it with VDB combine set to subtract but the curve goes inward instead of outward (see attachment).

Any thoughts how to do it without simulation?

Attachments:
Screen Shot 2021-01-12 at 11.35.01 AM.png (378.6 KB)

VFX Supervisor | CG Artist

http://yasinhasanian.com/ [yasinhasanian.com]
User Avatar
Member
142 posts
Joined: 8月 2009
Offline
Play and have Fun

Attachments:
grwws.gif (4.9 MB)
VdbCOrd.hiplc (153.7 KB)
ColVDB.hiplc (3.0 MB)

User Avatar
Member
55 posts
Joined: 4月 2019
Offline
Librarian
Play and have Fun
Thanks a lot for sharing these. They are super helpful.
Although it's close to what I needed, I'm wondering if there is a way to do it without introducing extra wave in the surface. For example, I only want the boundaries where objects intersect to have that curved shape. I've attached my test scene.
Edited by YasinH - 2021年1月14日 04:01:03

Attachments:
water_attraction_01.hiplc (405.4 KB)

VFX Supervisor | CG Artist

http://yasinhasanian.com/ [yasinhasanian.com]
User Avatar
Member
142 posts
Joined: 8月 2009
Offline
Group boundaries.Maybe ?

Attachments:
s4.jpg (283.4 KB)
Stproc.hiplc (280.6 KB)

User Avatar
Member
55 posts
Joined: 4月 2019
Offline
Librarian
Group boundaries.Maybe ?
Fantastic! This totally does the trick! Much appreciated for the help.
VFX Supervisor | CG Artist

http://yasinhasanian.com/ [yasinhasanian.com]
  • Quick Links