Hi!
I have a simple problem, very newby question.
I have some drops wich i drive with attributes created in a point wrangle.
I have emission frame(@dropF) and life(@life), so i have the end frame of their animation(i@endF=@dropF+(@life*24)).
I would like to use @endF in a time warp to automatically freeze the animation at it's last frame.But no chance to use that variable in the retime.What i'm i doing wrong?
Thanks alot!
C.
Use expression to drive retime
1610 3 0- CarloB
- Member
- 20 posts
- Joined: April 2015
- Offline
- Enivob
- Member
- 2519 posts
- Joined: June 2008
- Offline
I think you might have to place the Retime inside a loop and fetch the point attributes, one at a time.
use the point function to fetch the attribute you want for each retime field.
NOTE: You don't need the @ symbol when referencing an attribute using this hScript function.
use the point function to fetch the attribute you want for each retime field.
point("../foreach_begin1/",0,"dropF",0)
Using Houdini Indie 20.0
Ubuntu 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
Ubuntu 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
- CarloB
- Member
- 20 posts
- Joined: April 2015
- Offline
- CarloB
- Member
- 20 posts
- Joined: April 2015
- Offline
Working, but i do have a problem, because i try to retime the drop mesh and not the particle,since the geo disappear also the attributes get 0 at that frame.
Infact what i whant to acheave is that the drops stay in place before it disappear.
There is no other way to store that attribute and pass it to the retime?
Cheers
C.
SOLVED, I did just put the retime after the loop, just using the foreach_begin1 node to store the value and pass it to the retime, not super clean but works!!
Thanks!
Infact what i whant to acheave is that the drops stay in place before it disappear.
There is no other way to store that attribute and pass it to the retime?
Cheers
C.
SOLVED, I did just put the retime after the loop, just using the foreach_begin1 node to store the value and pass it to the retime, not super clean but works!!
Thanks!
Edited by CarloB - Sept. 10, 2019 10:42:01
-
- Quick Links