
Description
This pair of screenshots is shows off a graphics project I did for school. It was an intro class, and I am no artist, so the graphics aren't anything to scream about among fellow graphics programmers, but they fit the purpose, and that is the whole idea. I wrote code on and off for about two months to get this project written from scratch.
I first wrote a 3d math library to make my life easier. Then I got a font renderer functioning, and finally wrote up a GUI system for it, that is pretty cool if I do say so myself. It is increadibly non intrusive, and it uses seperate layout files to specify the GUI itself that do not require recompiling. It also has a fun logging class that outputs to an html log with timestamps, and is color coded for importance of entries. I also got a smartpointer class going to take care of objects with reference counting.
The point of this app is to show off the boids algorithm, and there are 3 flocks of boids that will fly around the scene following random waypoints. They start scattered randomly, so they require a little bit of time to regroup before they start flying about as a group.
Also of interest, is a procedurally generated terrain that allows for infinite repetition. The trees are all randomly placed, and repeat along with the terrain. There are only 20 unique trees, to give you an idea of scale.
Everything implemented here is rediculously simple, but it all comes together rather nicely, and could be polished into a nice product very easily if I was so inclined.
The definition of the assignment required me to use Windows, but the code uses SDL, OpenGL, and DevIL, and entirely cross platform compatable to wherever those are supported.
It is mostly unoptomized debug code, and I think it still generates a gprof file for profiling, but it is fast enough as is, so I havn't bothered with optomizing it any further.
Download Windows Binary












