Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Feedback Recycle particles that dropped out of bound
#2
(11-04-2024, 03:30 PM)kodra Wrote: It seems that the only way to control a fluid particle is via "Lifespan" parameter. I think it would be convenient if there is an option to provide a bounding box and all the particles go outside are recycled.

Hi!

It’s trivial to implement this yourself, by using triggers and setting the lifetime of particles outside of it to zero. See:

https://obi.virtualmethodstudio.com/manu...sions.html
https://obi.virtualmethodstudio.com/manu...icles.html

Note that in Obi7/ compute where the amount of particles is much larger, doing this in a compute shader is advisable. See “using compute shaders to process particles” at the end of this link:

https://obi.virtualmethodstudio.com/manu...icles.html
Reply


Messages In This Thread
RE: Recycle particles that dropped out of bound - by josemendez - 11-04-2024, 03:46 PM