H. Long's Website

Easy software rasterizer

A cube with anti-aliasing
code

Introduction

This simple rasterizer is based on modern CPP, mainly before c++20. It is a good example for learning how to write a software rasterizer, including the basic rasterizing pipeline–vertex processing, primitive assembly, clipping, rasterization, visibility test, and fragment processing. Additionally, it supports Blinn-Phong shading model, texture mapping, and SSAA.


result