Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 604 Bytes

File metadata and controls

30 lines (20 loc) · 604 Bytes

3D Software Rasterizer

3D Software Rasterizer in C++

Screenshot

Mesh: Stanford Dragon

This is a C++ rewrite of my original Python software renderer.

Building

This project requires SDL2 and SDL2_ttf. These can be installed on an Ubuntu system via the package manager:

$ sudo apt install libsdl2-dev libsdl2-ttf-dev

Create a build directory and compile using CMake:

$ mkdir build && cd build
$ cmake ..
$ make

Running

$ ./rasterizer