Relative Distance converts the distance to the origin in a specified reference transformation into a greyscale texture.

Figure 1: Relative distance Node


Figure 2: Relative Distance node connected to the Diffuse pin on an Octane material

Parameters

    • Distance Mode - Returns the Euclidean distance between the shaded point and the origin of the specified reference transform.
    • Reference Transform - Transform defining the coordinate system used to compute the distance metric.
    • Use Full Transform - If Enabled, the distances will be calculated after applying the full reference transform, including scale and rotation. If Disabled, only the translation is taken into account.
    • Normalize Results - Takes the result and normalizes the values between 0 and 1.
    • Normalization Range - Defines the minimum and maximum of the normalization range.