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.
erase flip particles in DOP level.
6437 4 2- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
- mawi
- 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
- vbk!!!
- 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
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
- vbk!!!
- 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
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
- mawi
- 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.
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.
-
- Quick Links