Method for visualizing sensor signals from an optical sensor of a coordinate measuring machine, wherein - the optical sensor and a space for arranging a workpiece to be captured are movable relative to each other, - data of a three-dimensional scene which is immovable relative to the space are received and/or available, - a two-dimensional sensor image, which is generated from image signals from the optical sensor and depicts a spatial region of the space at a given relative position of the optical sensor and of the space, is repeatedly combined with a two-dimensional viewing image of a partial region of the three-dimensional scene that is generated from the data of the three-dimensional scene in a correct position to form a two-dimensional output image, and the output image is output for presentation by an image presentation device, - the two-dimensional viewing image has, in accordance with its two dimensions, two directions along which image elements of the viewing image are presentable and are also presented during presentation by the image presentation device, wherein, for the viewing image, with respect to at least one of the two directions, mutually opposite peripheries (2a, 2b, 3a, 3b) are predefined between which a central region of the viewing image is located, - when the sensor image no longer depicts the same spatial region in comparison with a previous generation of the output image because the optical sensor and the space for arranging the workpiece to be captured have performed a relative movement relative to one another, a check is performed during a repeated generation of the output image as to whether - based on a previously generated output image when using the same viewing image as in the previously generated output image - the sensor image would extend from the central region over at least one of the two mutually opposite peripheries (2a, 2b, 3a, 3b), and, if this is the case, a different two-dimensional viewing image is generated from the data of the three-dimensional scene, wherein the other two-dimensional viewing image captures a partial region of the three-dimensional scene that is displaced in accordance with the relative movement. - the optical sensor and a space for arranging a workpiece to be captured are movable relative to each other, - data of a three-dimensional scene which is immovable relative to the space are received and/or available, - a two-dimensional sensor image, which is generated from image signals from the optical sensor and depicts a spatial region of the space at a given relative position of the optical sensor and of the space, is repeatedly combined with a two-dimensional viewing image of a partial region of the three-dimensional scene that is generated from the data of the three-dimensional scene in a correct position to form a two-dimensional output image, and the output image is output for presentation by an image presentation device, - the two-dimensional viewing image has, in accordance with its two dimensions, two directions along which image elements of the viewing image are presentable and are also presented during presentation by the image presentation device, wherein, for the viewing image, with respect to at least one of the two directions, mutually opposite peripheries (2a, 2b, 3a, 3b) are predefined between which a central region of the viewing image is located, - when the sensor image no longer depicts the same spatial region in comparison with a previous generation of the output image because the optical sensor and the space for arranging the workpiece to be captured have performed a relative movement relative to one another, a check is performed during a repeated generation of the output image as to whether - based on a previously generated output image when using the same viewing image as in the previously generated output image - the sensor image would extend from the central region over at least one of the two mutually opposite peripheries (2a, 2b, 3a, 3b), and, if this is the case, a different two-dimensional viewing image is generated from the data of the three-dimensional scene, wherein the other two-dimensional viewing image captures a partial region of the three-dimensional scene that is displaced in accordance with the relative movement.