/zig-raytracing

Zig Implementation of the Raytracing In One Weekend book.

Primary LanguageZig

zig-raytracing

Implementation of a very simple raytracing renderer following the great guide in Raytracing in One Weekend.

Image

Installation

This project was developed on Zig 0.8. Zig is a fast moving language, newer versions might not be able to compile it.

git clone https://github.com/pedromsilvapt/zig-raytracing.git
cd zig-raytracing
zig build -Drelease-fast

Usage

The compiled application can be ran directly from the command line.

./zig-out/bin/raytracing