A method for sampling surface points on the surface of an object using a medical navigation system and a light beam source, wherein the light beam source generates a light beam which creates a light spot on the surface, and a camera of the medical navigation system records image data from which the location of the light spot is determined as the location of a sample point, said method comprising the steps of: generating a quality measure for a sample point using a quality measurement device which is at least partially attached to the light beam source and used to determine quality measurement data from which the quality measure is determined and processing the sample point on the basis of the quality measure.