Jump to content
Sign in to follow this  
Baldric

particle life time same as frame range?

Recommended Posts

Hello everyone,

 

can anyone tell me what one has to do to make sure that particles in Houdini 14 will live exactly as long as the framerange that is set, regardless of what that range is set to?

 

Thanks,

 

Doug

Share this post


Link to post
Share on other sites

Hello everyone,

 

can anyone tell me what one has to do to make sure that particles in Houdini 14 will live exactly as long as the framerange that is set, regardless of what that range is set to?

 

Thanks,

 

Doug

 

Not sure if this is what you mean, but you could always set the lifetime to $RFEND which will reference whatever your last frame is.  This may not be what you want as the lifetime is based on seconds, so if you're working in 24 fps you could try dividing it down to get the exact frame lifetime you want.  EX.   $RFEND /24 should kill your particles at the last frame. 

 

edit:  dividing it by $FPS should work.

Edited by NSugleris

Share this post


Link to post
Share on other sites

Not sure if this is what you mean, but you could always set the lifetime to $RFEND which will reference whatever your last frame is.  This may not be what you want as the lifetime is based on seconds, so if you're working in 24 fps you could try dividing it down to get the exact frame lifetime you want.  EX.   $RFEND /24 should kill your particles at the last frame. 

 

edit:  dividing it by $FPS should work.

 

 this will work if $RFSTART is 1,  otherwise subtract $RFSTART .. so ($RFSTART-$RFEND)/$FPS

Share this post


Link to post
Share on other sites

$NFRAMES/$FPS if you want to reference global frame range

 

$NFRAMES refers to total frames in your global frame range ($FEND-$FSTART)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×