Efficient ray tracing architectures