Configuring the Depth Layer

The Depth layer contains the depth of the hit point along the Z coordinate in the camera space. The depth is zero at the camera position, and extends positive into the scene.

The furthest pixels from the camera are white, and the closest pixels are black.


Before you begin: By default, the lookup table (LUT) is turned off, therefore the display is in grayscale. The LUT renders a false color representation of the actual values. The colors are determined by a lookup table (LUT). This concept also applies to the Image Viewer . For more information, see Analyzing Batch Images.
  1. Start a Stellar rendering before running Viewport Analytics .

    For more information, see Starting Viewport Analytics.

  2. From the Type list, select Depth.


  3. Click the appropriate option.
    OptionDescription
    Full rangeInterprets the depth at the given pixel as a grayscale value.

    Pixels that are further than one meter away from the camera are clipped to full white.

    Accordingly, any pixel originating completely from an ambience is considered as infinitely far away from the camera, and thus it is rendered white as well.

    By default, this option is selected.

    ManualClamps every depth value against the Near and Far values.

    The default Near value is 0 millimeters and the default Far value is 10000 mm. The range is [0mm, unlimited].

    Note: You define the length unit in Me > Preferences > Common Preferences > Parameters, Measures, and Units > Units.
    NormalizeMaps the depth value to the range [0, 1] before they are interpreted as grayscale color.

    Pixels with an infinite value are ignored while determining the maximum depth, and they are mapped to 1.

    Note: Opaque and transparent objects contribute to the depth image.

    If you clear Normalize, the result is as follows:

    this option is selected.

    InvertInverts the grayscale image so that pixels in the foreground are bright, and pixels in the background are dark.

    this option is cleared.

    Lookup table Displays the original render of the output image in a false color image instead of grayscale.

    By default, the output image for the Depth layer is in grayscale. To use a false color image instead, select Lookup table:

    Opens the Lookup Table panel that lets you choose between a list of preconfigured LUTs. To do so, proceed as follows:

    1. From the Preset list, select a LUT.
    2. To use a custom LUT, select Custom at the bottom of the list, and then click Custom Lookup Table Source to choose the file in .cube format that you want to use.
    Important:
    • You can use custom LUTs in .cube format only.
    • The LUT that you select persists across sessions.

    In addition to the Default LUT, you can choose among the following presets:

    Blue Filmic false color Gray Heated body
    Plasma Rainbow Red white blue Viridis

    Show legend Displays the following information for the LUT in the upper-left part of the viewer:
    • Color spectrum

    • Minimum and maximum values
    • Units
  4. In the Pixel sampler area, define the appropriate options.
    OptionDescription
    Magnifier Displays the magnifier to help you pick individual pixels with higher precision.

    Note: If you press Ctrl to lock the value, you cannot move the magnifier anymore.
    Defines the following additional options for the magnifier.
    • Show cross displays a cross at the center of the magnifier.
    • Radius defines the number of magnified pixels through a radius.




    • Zoom factor defines the zoom level applied to the pixels around the mouse cursor within the specified radius.




    Sample size Defines the width and height of the square of sampled pixels, centered at the cursor position.

    When you enter a value greater than 1, the average, minimum, and maximum values over a wider set of pixels are computed.

    Important: You can enter only integer values equal or greater than 1.

    Minimum Displays the minimum value for the square.
    Average Displays the average value for the square.
    Maximum Displays the maximum value for the square.


    Press Ctrl to lock the value on the pixel of your choice. In that case, you cannot sample any pixels anymore. The icon changes to and is grayed out.

    To unlock the value, press Ctrl again.

    Copies the locked value to the clipboard. You can then paste this value afterward to a spreadsheet, for example.