/cpp-rasterizer

Simple software rasterizer written in C++

Primary LanguageC++MIT LicenseMIT

cpp-rasterizer

cpp-rasterizer is a software rasterizer written in C++. This rasterizer loads obj files and renders them interactively with Phong shading. Move with WASD, shift, space, and mouse.

Build

You will need to install SDL2 to build. If you are on Ubuntu, then run apt-get install libsdl2-dev

  1. Run make
  2. Run ./rasterizer models/utah-teapot.obj

Screenshots

Stanford Dragon Utah Teapot Amogus