Get vel field from VDB Morhp SDF

   1233   2   2
User Avatar
Member
45 posts
Joined: Nov. 2019
Offline
Hello,

I recently came across the vdb morph SDF node. It is quite nice and I was wondering if anyone had an idea on how to get a velocity field of the operation.

I suspect that the node internally compute the direction in which the values need to move in order to morph, I would be interested in getting those direction in a field so I can advect the shape myself.

Any help appreciated.
User Avatar
Member
172 posts
Joined: Jan. 2014
Offline
Hi kadeno,

I don't think there is smth going on internally, it's just value blending, as you will see in the hip file. And because of it you can't really get the velocity from it.
There are some workarounds tho, just did a test with advection by computing the positions of the source and the target surfaces.
There should be a better way I guess.

direct video link
https://files.catbox.moe/gss94q.webm [files.catbox.moe]
Edited by Ivan L - Nov. 10, 2020 20:53:56

Attachments:
MorphVel_v001_t01.hiplc (326.6 KB)
output.webm (617.2 KB)

I contribute to the beauty of this world
User Avatar
Member
45 posts
Joined: Nov. 2019
Offline
I see, the custom_morph wrangle from your hip made it quite clear for me.

I was trying to do what you did with the points with vdb advect points but I must say I was not as successful as you, well done Sir.

Thanks a lot for the help.
  • Quick Links