nachocpol / NRaster

Software rasterizer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NRaster

My implementation of a software rasterizer.

How to build

NRaster uses premake5 to generate the project. The project comes with GenerateSolution.bat that will generate a VS2017 solution.

Features

  • Multi thread triangle rasterization using bins.
  • Perspective correct attribute interpolation
  • Supports OBJs
  • Programable vertex and pixel shaders.

Dependencies

  • SDL2, used for window creation and displaying the results to the screen
  • tinyOBJ
  • glm
  • Premake5
  • tinythreds

Teapot Scene

About

Software rasterizer


Languages

Language:C++ 95.5%Language:Lua 3.5%Language:Batchfile 0.9%