PhysX Particles Simulation - First Take

/
0 Comments
So, the other day I decided I wanted to try to add particles to my engine. I already have PhysX ( 3.3 beta ) working, so I grabbed the documentation and started from there. The documentation includes a guide that it's really complete, so it just took me a couple hours to get it working.
For rendering I'm using the most naive implementation possible : draw a cube for each particle, with one batch per particle. Really slow, but still, I manage to get 80 fps with a GTX 480 and a i3 @ 3.65 GHz in a simple scene (5000 triangles + 36*4000 of the particles)  with 4000 particles, simulated in the GPU, courtesy of nVIDIA.




Next stop, volumetric rendering using voxels.


You may also like

No comments:

Pages

Powered by Blogger.