How does Ray Tracing Work in Video Games and Movies?