get points where depth changes drastically. also remove doMouseMove.