Hi everyone,
Recently I have been playing with (large numbers of) particles. I noticed that FPS drop quickly for relaitvely, well, not too high numbers.
Here are some observations. The numbers (particle/sprite count) are derived from visual inspection, when FPS consistently stayed below 60 but above 50. All playgrounds just display stuff (no updates, fancy effects or anything).
- Particle system: https://playground.babylonjs.com/#DEZ79M#58 (10_000)
- Sprites: https://playground.babylonjs.com/#DEZ79M#60 (25_000)
- GPU particle system: https://playground.babylonjs.com/#DEZ79M#61 (80_000)
- Point cloud: https://playground.babylonjs.com/#DEZ79M#59 (400_000)
I do not get these numbers. The 3d point cloud is up to an order of magnitude faster? Even GPU particles lose big times?
I do realise that the numbers are strongly dependent on hardware. But I would expect the relations remain roughly the same. So that the conclusion is 2d is considerably slower than 3d? Is this expected?
If that is an accurate conclusion, then if I can replicate a ParticleSystem effect with a PointCloud, then always use PointCloud? Similarly, if I can replicate a ParticleSystem effect with Sprites but not with a PointCloud, then always use Sprites?
Best wishes
Joe