Lines of bare C++: raytracing made simple
There is a great pragmatic programmers book on building a ray tracer that just came out: https://pragprog.com/book/jbtracer/the-ray-tracer-challengeIts langauge neutral, which is interesting.