Generation of three-dimensional SEM micrographs is traditionally based on a pair of images showing the object from two different perspectives. Here a method is described by which the 3D effect can be obtained from a single photograph. This technique is founded upon the principle of object-depth mapping, where different depth levels of the object are encoded with different colors. This process enables the creation of an image stack that forms the basis for the 3D image. Several photographic examples from different scientific fields are provided in order to demonstrate the effectiveness of the method.