Computer Science Canada Smoke engine |
Author: | Insectoid [ Thu Jan 22, 2009 6:48 pm ] | ||
Post subject: | Smoke engine | ||
So, I wrote this little smoke simulation. It's based on (SNIPERDUDE?)'s particle engine tutorial. For the first 15 or so seconds it looks rather bad, but after that it looks the way it is supposed to. You'll notice when the chaff is gone and it's going right. I know why it does that, but I was too lazy to fix it. I also tried to add in fire, but got bored and left it with smoke. I also tried to do wind, but once again, I got bored. Really, it was done with the smoke. I tried a little to make it adaptable to other programs, with an 'animate' procedure that could be called and whatnot, but got stuck in a very long loop (nested for loops can take forever to execute).
Tell me what you think! I know, a lot of stuff has been left there that isn't used, but this was a spare time/'that would be cool' project. I'm currently working on a program that has a flexible line that bounces off walls. Sure, it's not a spring simulation, but it should look cool. |
Author: | saltpro15 [ Thu Jan 22, 2009 6:56 pm ] |
Post subject: | RE:Smoke engine |
cool, I made one of these once, they turn out better if the background color is black, just a thought, yours is cool though ![]() |
Author: | Insectoid [ Thu Jan 22, 2009 7:22 pm ] |
Post subject: | RE:Smoke engine |
Black smoke on a black background? I guess it could hide the blemishes better... |
Author: | saltpro15 [ Thu Jan 22, 2009 8:33 pm ] |
Post subject: | RE:Smoke engine |
i had grey smoke, my bad ![]() |
Author: | A.J [ Thu Jan 22, 2009 8:58 pm ] |
Post subject: | Re: Smoke engine |
very well don insectoid....although there is one thing that could make your smoke a bit more realistic : make the particles close into each other. I think that this will make it look a bit more realistic, but that's just me ![]() very good job though, I really like your coding convention ![]() |
Author: | bigone150 [ Thu Apr 23, 2009 7:31 am ] |
Post subject: | RE:Smoke engine |
Hey Insectoid amazing smoke there, i wanted to know if you could help me for a code for my rocket? If you would like to see the coding of the rocket and how wide it is go to http://compsci.ca/v3/viewtopic.php?p=184061&no=1#184061 |
Author: | DanTheMan [ Fri May 15, 2009 9:01 am ] |
Post subject: | RE:Smoke engine |
This is kind of nice, but is there a way to make the fire red at the base, and turning into black smoke at the top? |