user: Give a detailed overview of Advanced: syntax, arguments, return values, common patterns.

assistant: Pattern
:   The random sampling pattern used by the integrator.

    Automatic:
    :   Use *Blue-Noise* (see below), but with a tweak for viewport rendering to get better quality in the
        first sample. This is useful for interactive changes (panning the view, moving an object…)
        where the render is constantly restarting.

    Classic:
    :   Use pre-computed tables of Owen-scrambled Sobol for random sampling.

    Blue-Noise:
    :   Use a blue-noise pattern, which optimizes the frequency distribution.
        If the full number of samples is rendered, the output typically appears smoother than *Classic*
        despite not actually reducing the overall noise.

Seed
:   Seed value for integrator to get different noise patterns.

    Use Animated Seed
    :   Changes the seed for each frame. It is a good idea to enable this
        when rendering animations because a varying noise pattern is less noticeable.

Scrambling Distance
:   A technique that reduces the randomness between pixels in an attempt to improve GPU rendering performance,
    at the cost of potential artifacts. Not compatible with the *Blue-Noise* sampling pattern.

    Automatic
    :   Adapts the scrambling distance based on the sample count.

    Viewport
    :   Uses the *Scrambling Distance* adjustment for viewport rendering.
        This will make rendering faster but may cause flickering.

    Multiplier
    :   A multiplier for the scrambling distance. Values below one will reduce the distance, having the potential
        to improve GPU rendering performance but increase the visibility of artifacts.

Min Light Bounces
:   Minimum number of light bounces for each path,
    after which the integrator uses Russian Roulette to terminate paths that contribute less to the image.
    Setting this higher gives less noise, but may also increase render time considerably. For a low number
    of [maximum bounces](light_paths.xhtml#bpy-types-cyclesrendersettings-max-bounces), it is strongly recommended to
    set this minimum to the same value.

Min Transparent Bounces
:   Minimum number of [transparent](light_paths.xhtml#render-cycles-light-paths-transparency) bounces
    (more specifically “passthroughs”). Setting this higher reduces noise in the first bounces,
    but can also be less efficient for more complex geometry like hair and volumes.

Layer Samples
:   If any view layers have [Sample Overrides](../../layers/override.xhtml#bpy-types-viewlayer-samples) configured,
    this option specifies how to use them.

    Use:
    :   Allow view layers to override the scene-level sample count.

    Bounded:
    :   Allow the overrides as long as they don’t exceed the scene-level sample count.

    Ignore:
    :   Ignore the overrides.

Sample Subset
:   Only render a subset of the samples. Multiple subset renders can be combined into a full
    one by running the following in the [Python Console](../../../editors/python_console.xhtml):

    `bpy.ops.cycles.merge_images(input_filepath1=r"1.exr", input_filepath2=r"2.exr",
    output_filepath=r"combined.exr")`

    A typical use case is to distribute the rendering of a single frame over multiple machines.
    Say you want to render 2048 samples in total, but split this work over two machines because
    doing it on one would take too long:

    - On both machines, set the *(Max) Samples* to 2048, disable *Denoise*, and enable *Sample Subset*.
    - On the first machine, set *Offset* to 0 and *Length* to 1024.
    - On the second machine, set *Offset* to 1024 and *Length* to 1024.
    - Run the 1024-sample render on each machine, then combine the results as described above to get
      the equivalent of a single 2048-sample render.

    Offset
    :   The 0-based index of the first sample in the subset.

    Length
    :   The number of samples in the subset. While this overrides *(Max) Samples* in terms of the
        samples that will get rendered, it’s still important to set *(Max) Samples* to the total number
        of samples that will be rendered across all subsets – otherwise, the subsets will have
        incompatible noise and combining them will give a worse result.