Monday 27 December 2010

Thursday 9 September 2010

Software Rasterizer

Well, I'm back again! A long time has passed since my last post and I'm proud to announce my minimalistic software rasterizer.
You may think that software rasterization is a bit anachronistic in a world of super fast 3D accelerators, but this project is mainly for educational purposes. The API is roughly comparable to OpenGL and supports vertex and fragment shaders. All shaders are written in pure C.



Be warned, the rasterizer still produces some ugly artifacts (top-left filling rule is not implemented). There is also code included to load TGA and 3DS files.
The source is hosted on GitHub: https://github.com/chsc/LightGL
More demos with dot3 bump mapping are coming soon...