Software Rasterizer

To learn more about computer graphics, I wrote a software rasterizer in C++ during the second year of IGAD. This has taught me a lot about traditional rendering pipelines.

Features

    • .mdl and .obj mesh support
    • Vertex Animations (.mdl format)
    • Scenegraph Hierarchy
    • Perspective-correct texturing with sub-pixel and sub-texel accuracy

Pipeline

Model space -> View space (Camera transform and Worldspace transform are already concatenated beforehand) -> Clipping -> Perspective projection -> Polygon filler.

Result

Platform

Windows

Team

Solo

Date

January 2014

Code Sample

renderer.cpp