One of the projects I'm currently working on is a graphics engine designed to use DirectX, OpenGl, or software rendering. It is currently being written in C++ and was originally intended to include its own interfaces for an abstract windowing system (much like the Java AWT), but I found that to be somewhat out of scope for the project. The code can be downloaded below. It's currently in the early stages, but I hope to add much more to it very soon. I also plan on add some examples and online documentation so that others can both see it in action and use it themselves. Some of the best features of it include classes for 24-bit ints and 16-bit floats to emulate the way data is stored on some graphics cards, code to handle threading and locking, and a much better assert function than what is normally in the standard C++ library.

Download Code (80 KB)
Copyright MonroeDavis.com