[Sidefx-houdini-list] Get life attribute with fluid
sidefx at trinix.ca
Thu Oct 8 17:37:03 EDT 2009
Thanks for the answer Sebastian,
I think I've almost set it up except for point c and d. I will try to
understand better how the Gas Calculate work because it doesn't seem to
work and I can't figure out the logic you told me.
Here are the parameters I've set for the Gas Calculate
> hey francois,
> here how i would do it, ... just freestyling i have no H at my disposal at
> the moment
> 1) create a new scalar field & name it "myLife" and maybe set its initial
> value to something increadibly high
> 1.b) you can use a scalar-field vizualization node piped into this scalar
> field to visualize the field!
> 2) apply this to your fluid field using the apply-data dop
> 3) on your fluid solver create a gas calculate node
> a) which adds the contents of the source field "source"
> b) into the destination field "myLife"
> c) the calculation method you want to use could be "min", so all the
> fluid that is added comes in with a life value of something like 1
> d) what you also can do is setting the dest-(pre or post) add to your
> timestep so destiny field "myLife" gets incremented each calculation step
> one thing on c) i'm not sure what happens if your source field contains
> any fields with zero as content, if that sets all the myLife to zero
> ?? worth trying, maybe some kind of mask or something is arround that you
> can missuse ;)
> 4) use an gas-advect node to advect the "myLife" Field using the "vel" -
> Velocity Field
> give it a try
> On Thu, Oct 8, 2009 at 8:53 PM, Francois Duchesneau
> <sidefx at trinix.ca>wrote:
>> Hi everybody,
>> I'm trying to get the life of a voxel fluid simulation in order to fade
>> off the opacity at some point like I would do with particles. How can I
>> Thanks for your ideas.
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list