Using the class I assign the number of particles that I want to generate at once, I am using "for() { }" statement to generate that number each time like the following:
void RenderParticles(...)
{
// Some other codes goes here...
for(DWORD i = 0; i < maxNumOfParticles; i++)
CreateNewParticle();
}
When I create a rain usually I set a high number for maxNumOfParticles number like 150-250, so I can have alot of rains rendering (if the weather is so rainy).
However, the rendering SLOW down when 'maxNumOfParticles' is high, making the game slow even on a modern graphic card.