The ShowZBuffer command toggles the display of a grayscale z-buffer bitmap with the same dimensions as the viewport.
Each pixel is given a grayscale value that relates directly to the distance between the camera and that pixel (in the scene). The closest pixel becomes white and the furthest pixel becomes black.
Typical uses of a z-buffer map are creating depth-of-field effects and creation of bump or displacement maps in post-production software such as Photoshop.
The ViewCaptureToFile and ViewCaptureToClipboard commands can be used to capture the contents of ShowZBuffer.
Set viewport display modes
Create a surface or mesh from a grayscale bitmap
Rhinoceros 6 © 2010-2020 Robert McNeel & Associates. 13-Oct-2020