extracted picking ray calculation