A minimal raytracer

Make a business card sized raytracer - Needlessly complex

see also

  • Compile-time Ray Tracer - a C++17 ray tracer using constexpr function evaluation to produce the above image entirely at compile-time. Unlike other compile-time ray tracers which use template metaprogramming, this code also works just as well (in fact, thousands of times faster) at run time.

example

Written on November 30, 2017, Last update on November 23, 2022
raytracing ioccc c++