ray editting