Jump to content
Sign in to follow this  
Juzwa

FLIP: killing particles by age

Recommended Posts

Hi, 

 

I've looked into some old posts (from 2007-2009) to help me find a way to kill points of the FLIP by the age.

 

So what I did was to create an attribute in the sourcevolume called "birth" (and set to $T), and then in sopsolver I'm trying to kill points in by delete sop using @birth>some_value.

 

And looking into the spreadsheet it looks like it's working. Eg when I set my some_value to 0.2, I dont get any points older than 0.2. But in the viewport I can see that the points are still not dying.

 

 

 

temp.hipnc

Share this post


Link to post
Share on other sites

Any reason you are not using Age Particles and Reap Particles settings on the FLIP Solver? Then you can simply set the Life attribute to determine how long each particle should live for.

 

No need to overcomplicate things, especielly if you need to hand over your scene to someone else. I would have no idea where you created the attribute Birth in your scene since it's in a really weird and unusual place that doesn't make sense at all.

Share this post


Link to post
Share on other sites

Any reason you are not using Age Particles and Reap Particles settings on the FLIP Solver? Then you can simply set the Life attribute to determine how long each particle should live for.

 

No need to overcomplicate things, especielly if you need to hand over your scene to someone else. I would have no idea where you created the attribute Birth in your scene since it's in a really weird and unusual place that doesn't make sense at all.

 

I didnt use it because I didnt know about it. Thank you :)

Share this post


Link to post
Share on other sites

pop wrangle node:
# set life to 1 second
f@life = 1;

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  

×