Coffee Grind - Leaking particles
#2
Trying to Voronoi Fracture particles down into dust is going to be ridiculously slow. Same for PhysX. I'd recommend a hybrid approach where you keep big chunks PhysX and when they reach a certain small size you convert to grains with Particle Physics. The downside is that Particle Physics and PhysX don't have 2-way interactions....but with enough motion (assuming this isn't a slowmo shot), the intersections should not be noticeable. As for Voro Fractures...switch to just doing a spawned particle approach (Spawn operator - "voxels inside shape" mode) once they reach a certain small size...that'll be much faster than Voro Fracturing tiny particles. The idea is to take your small particles, fill them up with smaller particles and then delete the parent, instead of performing a slow slicing operation hundreds of times on the parent.

As for leaking particles...not sure why that would prevent Corona from rendering....but there are multiple approaches you can take: 1) Increase sim timesteps and/or PhysX steps. 2) Enable PhysX CCD. 3) Use a Surface Test to test if particles leave your container...if they do - delete them. A combination of all three may give you the best results.

One final note about the Surface Test - currently it integrates velocities before testing, which in your case (using it to test PhysX particles) may lead to particles being deleted even though they don't appear to leave the volume (because the velocity used in the Surface Test will be different than the velocity changed by the PhysX solver at the end of the time step). I am going to make the integration optional in the next build, so that this issue won't come up and Surface Test will be more reliable for situations like this (where you need to test whether PhysX particles are inside/outside a volume).
  Reply


Messages In This Thread
Coffee Grind - Leaking particles - by pmvis - 04-18-2023, 12:33 PM
RE: Coffee Grind - Leaking particles - by tyFlow - 04-18-2023, 02:34 PM
RE: Coffee Grind - Leaking particles - by pmvis - 04-19-2023, 08:35 AM
RE: Coffee Grind - Leaking particles - by tyFlow - 04-21-2023, 04:17 AM
RE: Coffee Grind - Leaking particles - by pmvis - 04-25-2023, 05:25 AM

Forum Jump: