Fluid particles disappears

Topper

12-02-2011 21:52:58

Hi,

I have a fluid with 30000 particles and it looks like a bunch of particles get lost. With only 10000 particles this problem doesn't happen.
So it looks like that the particles are not drawn from the ogre particle system.

In the images you can see the green boxes are full of particles from PhysX but the billboards arent there.


betajaen

12-02-2011 22:05:29

It's a physical limit of Ogre.

May I ask? What are you trying to do there? 30000 is a LOT of particles.

Topper

12-02-2011 22:31:53

Hi,

i try to reproduce the fluid demo from Nvidia with PhysX and there are if i am not wrong over 60000 particles. at the moment the fluid with the 10000 particles is running slowly because of the SPH. But i think that the fluid demo simulates the particles SPH with CUDA on the GPU otherwise i need a new pc ^^.

At first i thought that die particle system some how doesn't support so many particles but it is created correctly. So i don't know why some billboards aren't rendered.

betajaen

12-02-2011 22:43:40

Fluid demo? Are you trying to make a pool of liquid there, or? Because that looks really really inefficient.


As for the particle limit, I asked about it a few years ago, if you can find it on the main forums. If I remember correctly, ~30000 * 3 * 4 * 4 is a LOT of bytes, which gets over the limits of the Vertex Buffer. There is no way around it, short of writing your own particle system.

Topper

12-02-2011 23:03:34

Hi,

you can watch a video of the fluid demo on youtube http://www.youtube.com/watch?v=ok8ThRR-59Q.

too bad, but i think it will also work with 10000 particles.

thanks for your help.

betajaen

12-02-2011 23:19:42

Oh I see now.

They aren't using particles in that video though, it's a mesh of triangles.

Karan

16-03-2011 12:55:56

Actually they do use particles in that video. It's an earlier version of the method I posted about here (I even extracted the shaders from the executable a while back to understand it better).

And the post on the main forums betajaen mentioned is that one, by the way.

I had to stop working on my fluid code right after my last post, but now I'm starting to continue with my thesis...so the release I planned may still come^^

mlxy

11-04-2011 03:13:33

I see it too, yes ,they use just more than 10000 particles, but I don't know how they use to render the fluid, i.e I don't kown how to do with the way of screen space mesh? so anyone who will tech me how to do?