Distributed ray tracing