Home

Awesome

vRayTracer

Simple raytracer in vlang, learning the language as I go along so plenty of poor design choices, some for educational purposes. Based on Ray Tracing in One Weekend.

See f64 branch for more precise but slower implementation using 64 bit floats instead of 32bit.

Current output

raytrace output

Output is ppm but this is converted with imagemagick convert output.ppm output.png

Building & Running

Compile with v -o bin/raytrace -prod raytrace.v Run with ./raytrace > output.ppm

Todo

Waiting on vlang for

Complete