modified pointcloud raycasting. (BufferGeometry, bounding box test, variable threshold)