A real time ray tracer implemented with CUDA