An interpolating boundary element-free method for three-dimensional potential problems