943,587 Members | Top Members by Rank

Ad:
Jun 25th, 2004
0

My little particle engine

Expand Post »
So, in my spare time I'm working on a little OpenGL particle engine. I'll give this little guy it's own website and release the source code in a week or so. It's written in 100% C... it's quite ugly right now, but I hope to fix it up.

The capabilities of it thus far are not astounding. I can basically render multiple systems on the fly, I use function pointers to allow systems to have their own unique/customized draw(), init(), and reset() functions. I wrote a rendering queue that allows me to add systems to the queue to be drawn and also allows me to spawn systems from systems. I'm trying to get everything to the PNG format. Right now, particle textures can be loaded as PNGs or BMP and snapshots are PPM's (this is out of pure laziness as I just dump the pixmap off the front buffer into a file and I can also assemble movies with ppm2mpeg)... The next big steps are to write the PNG writer so snapshots write out as PNG (and for uniformities sake a BMP writer), clean up the BMP reader, and the big thing... write the font renderer. I'm going to write my own utility that converts PCF's into BMP's, load them as textures and use display lists to render fonts as textures.... should get pretty interesting once all these utilities are written.

I also want to add more components to the engine, like portals, lightwave object loader, etc..

http://dopedesign.com/index.php?gallery=3313
Similar Threads
Reputation Points: 44
Solved Threads: 1
Junior Poster
subtronic is offline Offline
117 posts
since Aug 2003
Jun 25th, 2004
0

Re: My little particle engine

you have some ego
Reputation Points: 33
Solved Threads: 19
Nearly a Posting Virtuoso
mikeandike22 is offline Offline
1,496 posts
since May 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Game Development Forum Timeline: Ram...
Next Thread in Game Development Forum Timeline: special keys as inputs





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC