how to animate a point moving through a vector field?
3488 7 2- oat
- Member
- 479 posts
- Joined: Dec. 2009
- Offline
I have a vector field composed of a group of points, each with it's velocity and vector information embedded.
I want to animate a group of points emitting from a certain position and moving through this vector field whose velocity and vector will change and are calculated as the average values across all the points around a given moving particle within a certain radius …
May I ask how to do this, using the particle system maybe?
Thank you very much!
I want to animate a group of points emitting from a certain position and moving through this vector field whose velocity and vector will change and are calculated as the average values across all the points around a given moving particle within a certain radius …
May I ask how to do this, using the particle system maybe?
Thank you very much!
- mestela
- Member
- 1795 posts
- Joined: May 2006
- Offline
- oat
- Member
- 479 posts
- Joined: Dec. 2009
- Offline
Thanks, mestela!
May I ask if there is a way to confine the VDB volume as the same as the bounding box of the point group?
It seems some of the particles are flying out of the point group and stuck over the corner of the VDB volume…
It will take a while for me to understand your approach…
Nevertheless, thanks again!
May I ask if there is a way to confine the VDB volume as the same as the bounding box of the point group?
It seems some of the particles are flying out of the point group and stuck over the corner of the VDB volume…
It will take a while for me to understand your approach…
Nevertheless, thanks again!
- mestela
- Member
- 1795 posts
- Joined: May 2006
- Offline
- oat
- Member
- 479 posts
- Joined: Dec. 2009
- Offline
- animatrix_
- Member
- 4683 posts
- Joined: Feb. 2012
- Offline
length ( @v ) will give you speed.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- oat
- Member
- 479 posts
- Joined: Dec. 2009
- Offline
- animatrix_
- Member
- 4683 posts
- Joined: Feb. 2012
- Offline
Put the code inside an AttribWrangle after @speed. It will give you a speed attribute. It will be the absolute value. If you want relative, you have to choose the reference point.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
-
- Quick Links