TinyRenderer
lastmod 2026-11-10created 2017-02-132 edits
TinyRenderer is a short computer graphics course, with its supporting code, in which you build a software renderer from scratch in C++ without external graphics libraries such as OpenGL. It implements Bresenham line drawing, triangle rasterization, the z-buffer, texture mapping, projection and camera transforms, shader structure, shadow mapping, and more step by step, with the goal of understanding how the GPU pipeline works internally. Because the entire code is small, only a few hundred lines, it is widely used for learning.
Support c++ code for a short computer graphics course.
Local Download
- tinyrenderer master f0b37d1
-
Tinyrenderer-master-f0b37d1.zip