[Sidefx-houdini-list] pop previous velocity
luca at cinesite.co.uk
Tue Apr 17 05:52:54 EDT 2007
In order to get the previous frame's pAge I could easily calculate 1/24
and subtract it to the current pAge..... geez I haven't had my coffee
Luca Zappala wrote:
> Ok, I found a decent solution by storing the v to n, use the trail (1
> frame) and compute velocity, copy v to oldVel, copy n back to v. This
> way I get correct oldVel except for the last frame before the particle
> dies, but I can live with that.
> Now I'm getting stuck with the particle Age (life): I would also
> like to store the previous frame's particle Age. :)
> Any ideas?
> I guess this would be an interested topic on how to store simulation
> variables at a different time from current time.
> Luca Zappala wrote:
>> Hello there,
>> I'm trying to cache the particle oldVel (velocity at the previous
>> I read the upvector node should create a previousVelocity local
>> variable (PV) but this doesn't seem to be working properly, in fact
>> PV is the same as V.
>> Do you have any other idea on how to store the oldVel as well?
>> thanks a lot
>> 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