c-ray is a small, simple path tracer written in C
c
json
graphics
monte-carlo
sdl2
path-tracer
kd-tree
raytracer
raytracing
ray-tracing
graphics-rendering
path-tracing
raytrace
raytracing-algorithms
bvh-accelerator
-
Updated
Mar 29, 2022 - C
Code Sample, a minimal, complete, and verifiable piece of code
Problem description
The above code doesn't fail if the provided lons/lats are 2D (not sure on 3D+), but the class and all functions/utilities underneath it assume 1D arrays. The end results are incor