Renamed limit to recursions in trace functions
Moved pixel creation function to seperate file and adjusted rest of the files. Includes are still messy but work (for now)
Changed trace to return a pixel. Needed to include pixel.h in tracer.h
Added some functionality on rt_trace
Trace can now calculate if point is in shadow or not
Added skeleton for trace. Time for debugging.
Modified main for testing tracing
Basic testing added needs some more debugging
Some further testing revealed loss of precision due normalization of direction vectors. Need to deal with it somehow
Changed to double precision and did more testing, there is still something weird going on with illumination calculations though
Fixed bug in point hit calculation. Unrelated to lighting issue.
Fixed bug with one root case of the intersection
Added own function for illumination calculation
After a lot of testing intersections seem to work.
Added declaration for rt_renderScene
Added rt_renderScene in tracer.c
Implemented render scene
Scene is now actually displayed. And it seems to work to some extent
Added very simple scaling for color brightness
Re-implemented intersection optimization