
software_rasterizer
Let your CPU cosplay as a GPU 💅!
This was a simple hobby project made on the side with what I learned from resources online. It uses the CPU to perform the rasterization process, the magical process of turning 3D stuffs to be viewable on your 2D screen.
Currently, this rasterizer only has a builtin parser for loading Wavefront Object files, but you can definitely pipe your own.
Chores #
This project is not finished and should serves as just mainly inspiration and learning material for myself. There are some things that I would like to work on within:
Building #
This project uses a very simple Makefile.
By default it compiles without an address sanitizer (because I am on Windows and the GCC MingW64 installation I have does not have a native ASAN port and I am too lazy):
make re
Outputs a final executable in the root directory and other compiled objects are located in /obj
Running
makealso works, but it can be problematic for not cleaning up old compilation stuffs
If you have and can link with an address sanitizer build it with the asan target:
make asan