In this recursive ray tracer we only covered simple ray-object intersection detection, shading, and shadowing. Source code is available on GitHub.
Time elapsed to read the scene data: 0.000436 seconds / 436 microseconds. Time elapsed to render the scene: 0.362635 seconds / 362635 microseconds.
Time elapsed to read the scene data: 0.008088 seconds / 8088 microseconds. Time elapsed to render the scene: 23.4171 seconds / 23417109 microseconds. System specs are as follows: Processor: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz, 2601 Mhz, 4 Core(s), 8 Logical Processor(s)Memory: 8GiB SODIMM DDR3 Synchronous 1600 MH. Disk: 1TB 7200 RPM HDDAll computations are done on a single thread.