Сэмплинг (sampling)

Ссылка

Панель

Render ‣ Sampling

Интегратор - это алгоритм визуализации, используемый для расчёта освещения. На текущий момент Cycles поддерживает интегратор с трассировкой путей и прямым сэмплированием света. Он неплохо работает для различных настроек освещения, но не очень подходит для каустик и прочего сложного освещения.

Rays are traced from the camera into the scene, bouncing around until they find a light source such as a light, an object emitting light, or the world background. To find lights and surfaces emitting light, both indirect light sampling (letting the ray follow the surface BSDF) and direct light sampling (picking a light source and tracing a ray towards it) are used.

Viewport Samples

Number of samples for viewport rendering. Setting this value to zero enables indefinite sampling of the viewport.

Render Samples

Количество путей для трассировки по каждому пикселю в окончательной визуализации. Чем больше сэмплов, тем более точным и менее зашумлённым будет результат.

Time Limit

Renders scene until time limit or sample count is reached. When the time is set to 0, the sample count is used to determine when the render stops.

Примечание

The time limit does not include pre-render processing time, only render time.

Adaptive Sampling

With adaptive sampling Cycles automatically reduces the number of samples in areas that have little noise, for faster rendering and more even noise distribution. For example hair on a character may need many samples, but the background may need very few.

With adaptive sampling it is also possible to render images with a target amount of noise. This is done by settings the Noise Threshold, typical values are in the range from 0.1 to 0.001. Then render samples can then be set to a high value, and the renderer will automatically choose the appropriate amount of samples.

Noise Threshold

The error threshold to decide whether to continue sampling a pixel or not. Typical values are in the range from 0.1 to 0.001, with lower values meaning less noise. Setting it to exactly 0 lets Cycles guess an automatic value for it based on the total sample count.

Min Samples

The minimum number of samples a pixel receives before adaptive sampling is applied. When set to 0 (default), it is automatically set to a value determined by the Noise Threshold.

Denoising

Denoising removes noise while previewing scenes in Rendered mode in the 3D Viewport or for final renders.

Рендер

Denoising for the final render can be enabled or disabled with the checkbox. For denoising the image after rendering with the Denoising node, the Data Render Passes also adapt to the selected denoiser.

Open Image Denoise

Uses Intel’s Open Image Denoise, an AI denoiser which runs on the CPU.

OptiX

Uses an artificial intelligence algorithm to remove noise from renders. It is based on the OptiX – NVIDIA acceleration engine and therefore has the same GPU requirements as rendering with Optix.

Вьюпорт (viewport)

Denoising for the Rendered mode in the 3D Viewport can be enabled or disabled for with the checkbox.

Автоматически (automatic)

Uses the faster available denoiser for 3D Viewport rendering (OptiX if available, otherwise OpenImageDenoise).

OpenImageDenoise

Uses Intel’s Open Image Denoise, an AI denoiser which runs on the CPU.

OptiX

Uses an artificial intelligence algorithm to remove noise from renders. It is based on the OptiX – NVIDIA acceleration engine and therefore has the same GPU requirements as rendering with Optix.

Start Sample

Sample to start denoising in the 3D Viewport.

Input Passes

Controls which Render Pass the denoiser should use as input, which can have different effects on the denoised image. Generally, the more passes the denoiser has to denoise the better the result. It is recommended to at least use Albedo as None can blur out details, especially at lower sample counts.

Нет (none)

Denoises the image using color data.

Albedo

Denoises the image using color and albedo data.

Albedo + Normal

Denoises the image using color, albedo, and normal pass data.

Предварительный фильтр

Controls whether or not prefiltering is applied to Input Passes for use when denoising. Visible only when using OpenImageDenoise.

Нет (none)

Does not apply any prefiltering to the input passes. This option retains the most detail and is the fastest, but assumes the input passes are noise free which may require a high sample count. If the input passes aren’t noise free, then noise will remain in the image after denoising.

Fast

Assumes the input passes are not noise free, yet does not apply prefiltering to the input passes. This option is faster than Accurate but produces a blurrier result.

Accurate

Prefilters the input passes before denoising to reduce noise. This option usually produces more detailed results than Fast with increased processing time.

Подробно (advanced)

Вариация (seed)

Начальное значение генератора случайных чисел в интеграторе для получения различных структур шума.

Use Animated Seed (clock icon)

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.

Шаблон

Random sampling pattern used by the integrator. When Adaptive Sampling is enabled, Progressive Multi-Jitter is always used instead of Sobol.

Sobol

Uses a Sobol pattern to decide the random sampling pattern used by the integrator. See Sobol sequence on Wikipedia for more information.

Progressive Multi-Jitter

Uses a progressive multi-jitter pattern to decide the random sampling pattern used by the integrator. Its advantage is to provide a good distribution of samples over iterating sample counts. Because of its good distribution over a range of different sample counts, this sample pattern is used for Adaptive Sampling. See this Pixar paper for more information.

Sample Offset

The number of samples to skip when starting render. This can be used to distribute a render across multiple computers then combine the images with bpy.ops.cycles.merge_images

Scrambling Distance Multiplier

Lower values Reduce randomization between pixels to improve GPU rendering performance, at the cost of possible rendering artifacts if set too low.

Автоматически (automatic)

Uses a formula to adapt the scrambling distance strength based on the sample count.

Вьюпорт (viewport)

Uses the Scrambling Distance value for the viewport rendering. This will make the rendering faster but may cause flickering.

Min Light Bounces

Минимальное количество отскоков света для каждого пути, после которого интегратор воспользуется русской рулеткой для завершения путей, вносящих наименьший вклад в изображение. Установка этого параметра в высокие значения уменьшит количество шума, но так же может значительно увеличить время визуализации. В случае малого количества отскоков настоятельно рекомендуется установить его равным максимальному количеству отскоков.

Min Transparent Bounces

Minimum number of transparent bounces. Setting this higher reduces noise in the first bounces, but can also be less efficient for more complex geometry like hair and volumes.

Light Threshold

Probabilistically terminates light samples when the light contribution is below this threshold (more noise but faster rendering). Zero disables the test and never ignores lights. This is useful because in large scenes with many light sources, some might only contribute a small amount to the final image, and increase render times. Using this setting can decrease the render times needed to calculate the rays which in the end have very little affect on the image.

Сэмплы слоёв

При визуализации слоёв, когда для каждого слоя установлено собственное количество сэмплов, этот параметр определяет, как именно нужно использовать эти сэмплы.

Включить

The render layer samples will override the set scene samples.

С ограничением

Ограничить послойное количество сэмплов глобальным количеством.

Игнорировать

Игнорировать послойные значения сэмплов.