An algorithm for three-dimensional reconstruction incorporating cross-plane rays | Synapse