Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 705 Bytes

File metadata and controls

18 lines (12 loc) · 705 Bytes

C++ Rasterizer

A built-from-scratch C++ bitmap library and cli rendering tool.


Ths project was an exercise in the linear algebra involved in Graphics engines, and an exercise in C++ development. As a task to stretch myself, I opted to code everything myself from first-principles, only using the std library.

A requirement to produce images was to write a bitmap library, capable of saving three-colour-pixel data into a file on disk, manually.

The cli rendering tool is able to rasterize a 3D object's wireframe and project it onto the camera's view.


  1. CD into the project root directory.
  2. Build the executable with make
  3. Run the program with ./ClosedGL
  4. View the output.bmp