Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 643 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 643 Bytes

Rasterizer

Simple (but spaghetti) rasterizer

Got

  • primitive clipping
  • hidden surface removal (depth buffering)
  • transformation, model, view, projection matrices
  • loading .obj model, and associated with it .bmp texture
  • "displaying" the rendered content (.ppm file or real-time rendering on a SDL surface)
  • back face culling

Sample

Rotating watch tower

How to run?

Packages

Install conan package manager, then:

$ mkdir build
$ cd build
$ conan install ..
$ cmake ..

Compiling

$ cd build
$ cmake --build . --config Release

Running

$ ./build/bin/main