Raytracer in one weekend made in Zig
- Zig 100%
| src | ||
| .gitignore | ||
| build.zig | ||
| build.zig.zon | ||
| README.md | ||
Raytracer
A simple raytracer written in a weekend by following Raytracing in one Weekend
Build
With Zig:
zig build -Doptimize=ReleaseFast
Run
# Outputs the image through stdout
./raytracer > image.ppm
# Some parameters
./raytracer --width 1920 --samples 200 --bounces 75 --vfov 20 --parallel > image.ppm