Get smoke density at specific coordinates

   147   2   1
User Avatar
Member
17 posts
Joined: 9月 2018
Offline
I have a 3D matrix of many objects and would like to use Billowy smoke to
change certain parameters of them, e.g. size, position-jitter, rotation etc…,
depending on the density of the smoke at these coordinates.

“More smoke -> more action.”

Or in pseudo-code:
scale *= GetSmokeDensityAt( x, y, z);

Is there an easy way to implement this? Or is it possible at all?


Thanks
AS
User Avatar
Member
4754 posts
Joined: 7月 2007
Offline
https://www.sidefx.com/docs/houdini/vex/functions/volumesample.html [www.sidefx.com]
or
https://www.sidefx.com/docs/houdini/nodes/sop/attribfromvolume.html [www.sidefx.com]
Edited by tamte - 2020年3月30日 20:03:24
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
17 posts
Joined: 9月 2018
Offline
Oh wow, super easy as it seems.


Thanks a lot!
AS
  • Quick Links