Measuring Particle Velocity

   2138   4   0
User Avatar
Member
48 posts
Joined: Feb. 2017
Offline
Hi everybody and thank you for reading my thread,

Is it possible to measure the velocity(speed) of the particles in specific part of the particle simulation? Or at least measuring the velocity in general?

Thanks in advance.
User Avatar
Member
8592 posts
Joined: July 2007
Offline
Solvers that update particles usually also update particle v attribute which is velocity per second

If you want to compute speed, you can compute length of this velocity vector

f@speed = length(v@v);
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
48 posts
Joined: Feb. 2017
Offline
Thanks a lot Tomas,

I was asking for doing this at DOP level and there is a particle speed limit if I remeber correctly but this also helps and does what I was looking for.

Still out of curiosity can I measure and do some extra things inside of DOP?
User Avatar
Member
8592 posts
Joined: July 2007
Offline
ordiante_academy
Still out of curiosity can I measure and do some extra things inside of DOP?
You can use that code (or any) in POP Wrangle DOP or Geometry Wrangle DOP
Which will update f@speed on your particles and you can use it to control POP nodes or custom stuff in wrangles, ...
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
861 posts
Joined: Oct. 2008
Offline
ordiante_academy
Thanks a lot Tomas,

Still out of curiosity can I measure and do some extra things inside of DOP?


Maybe this helps:

https://www.sidefx.com/docs/houdini/dopparticles/attributes.html [www.sidefx.com]
--
Jobless
  • Quick Links