Monday, September 1, 2008

Particle Effects Fun

I made this today - it took about half a day. I used my portable demo from before as a base, so it even works on Windows, OSX, and Linux. It is a fairly simple particle engine, but I think it's a good first attempt. :)
I did something different when recording the video this time though. With the Linux-based records, I had problems with slow speed and tearing artifacts (it is noticeable in the other videos I have uploaded in the past). So instead of using recordMyDesktop, Istanbul or any of the other Linux-based desktop video recorders, I decided to run the demo on windows and record it using Fraps. Worked a charm.

I hope there is a way to make nice recordings from Linux, but I wasn't feeling up to the task of scouring the 'net for it. One day I will. I am open to any recommendations or suggestions! :) And if you are up to it, feel free to check my code - maybe I am not setting up the vertical sync settings properly.

Update: I added another video with the particle sizes increased slightly so that the red ones are slightly more noticeable. They just look like artifacts of the video encoding though now. Oh well - trust me, it's there. :)

Download source code: http://www.zensaki.com/particle_shooter.zip