jsyrjala/zraytrace
Raytracing implemented in Zig language
Ray tracing implemented in Zig.
Code follows mostly Ray Tracing in One Weekend and Physically Based Rendering.
Single threaded, uses only on CPU.
Materials:
Shapes
Textures:
Algorithms
File formats:
This doesn't use bounded volume hierarchy because its overhead is too big for scene with 7 spheres.
From the left:
Some statistics