A handheld dental camera performs three-dimensional, optical measurements. The camera includes a light source that emits an illuminating beam, a scanning unit, a color sensor, and a deflector. The scanning unit focuses the illuminating beam onto a surface of an object to be measured. The surface of the object reflects the illuminating beam and forms a monitoring beam, which is detected by the color sensor. Focal points of wavelengths of the illuminating beam form chromatic depth measurement ranges. The scanning unit stepwise displaces the chromatic depth measurement ranges by a step width smaller than or equal to a length of each chromatic depth measurement range, so that a first chromatic depth measurement range in a first end position of the scanning unit and a second chromatic depth measurement range in a second end position are precisely adjoined in a direction of a measurement depth, or are partially overlapped.