Hi there, i need a fancy explosion. I already have one that looks quite good using the particle emittor but it takes a lot of cpu power. Is there another way to implement such a cool looking explosion.
Maybe:
Draw some randomly positioned cubes (with a cool texture) and make them disapear slowly (make the transparent)?
Any other ideas, (source code highly wanted )
Please send me an e-mail instead of a private message.
What emitter are you using? Cube or point (or another, i'm forgetting them right now)?
The way to do an efficient explosion, in my mind, would be to have a point emitter, and it chooses a random vector, and sets that as the emit angle for the direction. An even more efficient way would be to program a sphere emitter. I don't know if spheral capabilities are in irrlicht, but that would be the ideal solution.
Just my $0.02
The Robomaniac
Project Head / Lead Programmer Centaur Force
can you post your code for an explosion even if it is slow it might help some people get it to work for them and maybe there is a way to optimize your code.