Final CPU ray tracer.