Skip to content

BlackGoku36/ZigCPURasterizer

Repository files navigation

A CPU Rasterizer written in Zig during my free time for fun and to learn.

Checkout Computer Graphics from Scratch section on: https://blackgoku36.github.io/BG36Notes/

If I remember correctly, I got spot model from: https://www.cs.cmu.edu/~kmcrane/Projects/ModelRepository/

Build Instructions

Requirements:

  • The submodules
  • Sokol-shdc bin from here, and set ENV var to it. (to compile sokol side shader, in case you just want to run, you can comment out line 15 from build.zig as the shader is already compiled).

Just do:

zig build run -Drelease-fast

You should get: screenshot

Some refs:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published