Is there a way to get the velocity info on each voxel of a fluid container?
Like when I run fluids with velocity draw, I can see the arrows and all, but can I actually access the value of those arrows with mel? or maybe the density values....
Or should my approach be by integrating particles with my fluids and then getting the particle attributes (which I already know is possible, but I didn't want to have to reccur to particles for that....)
# get density for entire fluid cmds.getFluidAttr( at='density' ) # get density at the cell x=1, y=2, z=3 cmds.getFluidAttr( at='density', xi=1, yi=2, zi=3 ) # get the velocity at the cell x=1, y=2, z=3 cmds.getFluidAttr( at='velocity', xi=1, yi=2, zi=3 ) # get the x-component of the velocity at cell x=1, # y=2, z=3 cmds.getFluidAttr( xvalue=True, at='velocity', xi=1, yi=2, zi=3 ) # get the first component (red) of the rgb vector-valued # attribute "color" at the cell x=1, y=2, z=3 cmds.getFluidAttr( xvalue=True, at='color', xi=1, yi=2, zi=3 ) # get the velocity x component the plane x=5 cmds.getFluidAttr( at='velocity', x=True, xi=5 )