1. A device for optically scanning and measuring an environment which comprises: at least one projector for producing at least one uncoded pattern on an object in the environment; a first camera for recording at least one first image of the object provided with the uncoded pattern, the first camera having a first image plane; a second camera for recording at least one second image of the object provided with the uncoded pattern, the second camera being spaced apart from the first camera in order to acquire the uncoded pattern on a second image plane; and, a controller having a processor configured to determine a set of three-dimensional coordinates of points on a surface of the object based at least in part on the uncoded pattern, the at least one first image and the at least one second image.