SFML community forums

Help => General => Topic started by: masskiller on April 07, 2015, 01:15:47 am

Title: Help on Particle System-Like Rendering
Post by: masskiller on April 07, 2015, 01:15:47 am
Hi, I am particularly looking for help on the implementing of a system similar to a particle system. Particularly I do not know exactly how to start with the implementing of emitters and affectors. I also want to implement a way to use animations within the article system as a part of the effects of the creation and deletion of particles.

I understand well enough how particle systems work, however I do not really know how to implement emitters and affectors to work well with the timing to keep the emission rate consistent regardless of the framerate. I know that the Thor Library has a very good implementation of one, however I am reinventing the wheel with learning purposes and I will use the code I develop to implement other things that the Thor Particle system does not allow me to do.

Thanks in advance.
Title: Re: Help on Particle System-Like Rendering
Post by: eXpl0it3r on April 07, 2015, 09:30:10 am
If you need an example just look at the source code of Thor.
For the theoretical part behind it, I'm sure 5min googling will reveal enough information. ;)
Title: Re: Help on Particle System-Like Rendering
Post by: masskiller on April 07, 2015, 06:18:12 pm
I was doing that, however the code in Thor confused me because of some  things that I wasn't used to seeing very much. But after grinding on particular parts of C++ that I was still unfamiliar with I got most of it. I'll use this thread though once I am debugging the particle system.