erase flip particles in DOP level.

   6437   4   2
User Avatar
Member
383 posts
Joined:
Offline
Hi,

I woud like top know if there is a solution to erase FLIP particles in DOP level abse on their age.
I suppose I need to create a age based attribute and add it to the FLIP particles.
Then I should erase the particle I want with a group node and delete node.
The thing is I just don't know how to add Age attribute to a FLIP sim …

Any help is welcome.
http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
242 posts
Joined: Jan. 2008
Offline
vbk!!!
Hi,

I woud like top know if there is a solution to erase FLIP particles in DOP level abse on their age.
I suppose I need to create a age based attribute and add it to the FLIP particles.
Then I should erase the particle I want with a group node and delete node.
The thing is I just don't know how to add Age attribute to a FLIP sim …

Any help is welcome.

Try adding a birthtime attribute last thing in the SOP-source and set it to $T.

Then build something like life = fit($T,birthtime,birthtime+lifespan,0,1) in a sop solver/vop and blast the particles with @life == 1
User Avatar
Member
383 posts
Joined:
Offline
Well …

I added birthtime attribute to my source but I am not able to use it in DOP.
I can erase FLIP particle via sopsolver ( delete with bouding box) but I can't see any Birthtime attribute to use.

Please check my hip file. I am a newbie with dynamics and I guess my current Dop network is just wrong.

Thanks

Attachments:
eraseFLIPTest.hip (1.3 MB)

http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
383 posts
Joined:
Offline
ok

i added Birth attribute inside the Source Volume :
http://forums.odforce.net/index.php?/topic/15419-flip-viscosity-driven-by-age/#entry95128 [forums.odforce.net]

So I can use this attribute in the Sopsolver
http://vimeo.com/vbkstudio [vimeo.com]
User Avatar
Member
242 posts
Joined: Jan. 2008
Offline
Sorry I missed this topic.

If you havent solved it, here is your file fixed

I generated the random lifespan based on point ID, so you need to check that on in the flip-solver.
However you might as well generate the random value on the source points in SOPs.

Jump into the sop-solver to set expected and random life.

Attachments:
erasefliptest_149.hip (1.3 MB)

  • Quick Links