Simple particle system demo
Simple particle system demo
Hi!
Yesterday I was bored so I did a simple particle system demo;
The fun thing about this demo is that particles are transformed completely by GPU, so it is (well, it should be) quite fast.
This demo shows 20000 particles (so there are 40k polygons and 80k vertices).
The camera is a standard FPS camera, you can move it with directional keys (or arrows dunno how these keys are called ), to exit hit alt+F4.
This demo uses shaders v2.0, so if you have less than a geForce FX or a Radeon 9500 it will not run properly.
Download here:
http://web.infinito.it/utenti/p/phenix1/particles.zip
Yesterday I was bored so I did a simple particle system demo;
The fun thing about this demo is that particles are transformed completely by GPU, so it is (well, it should be) quite fast.
This demo shows 20000 particles (so there are 40k polygons and 80k vertices).
The camera is a standard FPS camera, you can move it with directional keys (or arrows dunno how these keys are called ), to exit hit alt+F4.
This demo uses shaders v2.0, so if you have less than a geForce FX or a Radeon 9500 it will not run properly.
Download here:
http://web.infinito.it/utenti/p/phenix1/particles.zip
That's pretty cool
http://www.dll-files.com/dllindex/dll-f ... l?d3dx9_27
here is the dll for those that want it
http://www.dll-files.com/dllindex/dll-f ... l?d3dx9_27
here is the dll for those that want it
-
- Posts: 448
- Joined: Tue Oct 05, 2004 3:24 am
- Location: Boston, MA
Very nice. The effects look great!
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
Learn the basics at </dream.in.code>
looks very nice!
exactly what i was looking for. can you tell me how you did the one on the right side?
the one that appears for 2-3 seconds, then fade away. i need some sort of splash effect like for example a guy jumps into a water pool, and it makes a splash.
if anyone can direct me to it, that'd be great.
thanks
exactly what i was looking for. can you tell me how you did the one on the right side?
the one that appears for 2-3 seconds, then fade away. i need some sort of splash effect like for example a guy jumps into a water pool, and it makes a splash.
if anyone can direct me to it, that'd be great.
thanks
I don't know if it will work well with splashes, because you'll probably need to render the particle system with EMT_TRANSPARENT_ALPHA_CHANNEL as base material, and to do that I think you'll need to sort the particles to avoid rendering artifacts. In the demo there isn't that problem because I can use EMT_TRANSPARENT_ADD_COLOR since the stars are white.
Thank you very much!
createHardwareBuffer is a function of my own modification of the engine that creates hardware vertex and index buffers. You can remove that line but performance will drop dramatically.
My own version of the engine is based on Irrlicht v0.10, I think that you've got the other error about the abstract class because you are compiling with a newer one.
createHardwareBuffer is a function of my own modification of the engine that creates hardware vertex and index buffers. You can remove that line but performance will drop dramatically.
My own version of the engine is based on Irrlicht v0.10, I think that you've got the other error about the abstract class because you are compiling with a newer one.