
-----------------------------------
PaddyLong
Mon Dec 08, 2003 11:57 am

particle system
-----------------------------------
here's my particle engine.... I wrote most of it during the summer, but decided to work on it again for some reason in the past couple days, so I made it better.... also, it's object oriented so it's pretty easy to use ... any way, here it is... oh yeah, in the demo program, the particle system moves towards the mouse cursor. when you click the mouse button, the system changes colour and size (well... particle life span)

-----------------------------------
Homer_simpson
Mon Dec 08, 2003 6:42 pm


-----------------------------------
it's pretty nice... but it goes pretty slow when u change the number of particles to something like 1000 or 2000

-----------------------------------
Tony
Mon Dec 08, 2003 7:45 pm


-----------------------------------
awesome 8) have some +Bits

-----------------------------------
PaddyLong
Tue Dec 09, 2003 12:10 am


-----------------------------------
it's pretty nice... but it goes pretty slow when u change the number of particles to something like 1000 or 2000

yeah :/  not really sure how I can fix this though

-----------------------------------
Homer_simpson
Tue Dec 09, 2003 12:16 am


-----------------------------------
I didn't go to the details in yer code... but i think u either have extra non necessary calculations... or yer updating the screen too often(doubt it)...

-----------------------------------
PaddyLong
Tue Dec 09, 2003 12:21 am


-----------------------------------
I think I know what it probably is... it's probably that it's generating the gradient everytime a particle is reborn... I'll see about changing this tomorrow

-----------------------------------
PaddyLong
Tue Dec 09, 2003 12:40 am


-----------------------------------
k, I changed that and it speeds it up a lot... just a bit more debugging to do to fix it up, but that I'll probably leave till tomorrow in case I get bored again lol

-----------------------------------
PaddyLong
Thu Dec 11, 2003 1:03 pm


-----------------------------------
k here's the latest version...  I think this is going to be the final one.. for now any way
