adding pointsXYZ to xported function for depth cue