A CPU path tracer