growth not working on animated geo

   1211   2   0
User Avatar
Member
8 posts
Joined: June 2015
Offline
hi.
I'm trying to achieve a relatively simple effect: particles hit an object and transfer white color attribute to those hit areas. then the white areas expand in time until they cover the entire object.
I tried this setup which expands the white areas using a sop solver and points cloud - attached - but it doesn't seem to work when the objects transformations are animated. the growth doesn't progress in the direction of movement.
any ideas how I can improve this setup or what should I buiild differently?
I'm not a Houdini pro. any hints greatly appreciated.

thank you for your time.
best regards.
Edited by letslie - Aug. 8, 2024 07:11:14

Attachments:
growth test.hip (391.9 KB)

User Avatar
Member
251 posts
Joined: Jan. 2008
Offline
Hi.
Inside the groth solver you got a point vop with a pcopen node.
This node is using the position of points to transfer values. Since you got animaton you cant do world space transfer like this.

One way to solve situations like this is to store a static geometry in a attribute(Often this is called a rest state) and do all transfering while the geo is static and then re-apply the animation.
Using a attribute swap node you can jump between "rest state" and animation.

Attachments:
growth test_rest.hipnc (386.4 KB)

User Avatar
Member
8 posts
Joined: June 2015
Offline
that's a great solution. thank you very much!
  • Quick Links