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:
More demos with dot3 bump mapping are coming soon...

1 comment:

  1. Cool! Maybe I can steal some code to learn about rasterizing (or you explain it to me). Nice to see you updating your blog. :-)