 A pinhole camera generates an image of infinite relative focus, from a point just outside the camera opening out to infinity.Lenses focus more selectively so that, for objects near the lens, the distance between lens and sensor or film is increased and is shortened for more distant objects, to a point beyond which all is in focus.In telephoto lenses this point may be tens or hundreds of metres from the camera.