Ray tracing process