|
Blender V4.3
|
#include "kernel/sample/sobol_burley.h"#include "kernel/sample/tabulated_sobol.h"#include "util/hash.h"Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device_forceinline uint3 | blue_noise_indexing (KernelGlobals kg, uint pixel_index, uint sample) |
| ccl_device_forceinline float | path_rng_1D (KernelGlobals kg, uint rng_pixel, uint sample, int dimension) |
| ccl_device_forceinline float2 | path_rng_2D (KernelGlobals kg, uint rng_pixel, int sample, int dimension) |
| ccl_device_forceinline float3 | path_rng_3D (KernelGlobals kg, uint rng_pixel, int sample, int dimension) |
| ccl_device_forceinline float4 | path_rng_4D (KernelGlobals kg, uint rng_pixel, int sample, int dimension) |
| ccl_device_inline uint | path_rng_pixel_init (KernelGlobals kg, const int sample, const int x, const int y) |
| ccl_device_inline bool | sample_is_class_A (int pattern, int sample) |
| CCL_NAMESPACE_BEGIN ccl_device_forceinline uint3 blue_noise_indexing | ( | KernelGlobals | kg, |
| uint | pixel_index, | ||
| uint | sample ) |
Definition at line 31 of file pattern.h.
References kernel_assert, kernel_data, make_uint3(), sample, SAMPLING_PATTERN_BLUE_NOISE_FIRST, SAMPLING_PATTERN_BLUE_NOISE_PURE, and SAMPLING_PATTERN_SOBOL_BURLEY.
Referenced by path_rng_1D(), path_rng_2D(), path_rng_3D(), and path_rng_4D().
| ccl_device_forceinline float path_rng_1D | ( | KernelGlobals | kg, |
| uint | rng_pixel, | ||
| uint | sample, | ||
| int | dimension ) |
Definition at line 65 of file pattern.h.
References blue_noise_indexing(), kernel_data, sample, SAMPLING_PATTERN_TABULATED_SOBOL, sobol_burley_sample_1D(), and tabulated_sobol_sample_1D().
Referenced by path_branched_rng_1D(), and path_state_rng_1D().
| ccl_device_forceinline float2 path_rng_2D | ( | KernelGlobals | kg, |
| uint | rng_pixel, | ||
| int | sample, | ||
| int | dimension ) |
Definition at line 82 of file pattern.h.
References blue_noise_indexing(), kernel_data, make_float2(), sample, SAMPLING_PATTERN_TABULATED_SOBOL, sobol_burley_sample_2D(), and tabulated_sobol_sample_2D().
Referenced by integrate_camera_sample(), integrator_init_from_bake(), path_branched_rng_2D(), and path_state_rng_2D().
| ccl_device_forceinline float3 path_rng_3D | ( | KernelGlobals | kg, |
| uint | rng_pixel, | ||
| int | sample, | ||
| int | dimension ) |
Definition at line 99 of file pattern.h.
References blue_noise_indexing(), kernel_data, make_float3(), sample, SAMPLING_PATTERN_TABULATED_SOBOL, sobol_burley_sample_3D(), and tabulated_sobol_sample_3D().
Referenced by integrate_camera_sample(), path_branched_rng_3D(), and path_state_rng_3D().
| ccl_device_forceinline float4 path_rng_4D | ( | KernelGlobals | kg, |
| uint | rng_pixel, | ||
| int | sample, | ||
| int | dimension ) |
Definition at line 116 of file pattern.h.
References blue_noise_indexing(), kernel_data, make_float4(), sample, SAMPLING_PATTERN_TABULATED_SOBOL, sobol_burley_sample_4D(), and tabulated_sobol_sample_4D().
| ccl_device_inline uint path_rng_pixel_init | ( | KernelGlobals | kg, |
| const int | sample, | ||
| const int | x, | ||
| const int | y ) |
Definition at line 133 of file pattern.h.
References hash_iqnt2d(), kernel_data, morton2d(), nested_uniform_scramble_base4(), sample, SAMPLING_PATTERN_SOBOL_BURLEY, and SAMPLING_PATTERN_TABULATED_SOBOL.
Referenced by integrator_init_from_bake(), and integrator_init_from_camera().
| ccl_device_inline bool sample_is_class_A | ( | int | pattern, |
| int | sample ) |
Splits samples into two different classes, A and B, which can be compared for variance estimation.
Definition at line 168 of file pattern.h.
References hash_hp_seeded_uint(), popcount(), sample, SAMPLING_PATTERN_SOBOL_BURLEY, and SAMPLING_PATTERN_TABULATED_SOBOL.
Referenced by film_write_adaptive_buffer().