I wrote a cpu path-tracer in C++, it is nothing special but it is multi-threaded and can output some nice images.