Ray assembly tutorial