|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | GuidingRISSample |
| ccl_device_forceinline bool calculate_ris_target | ( | ccl_private GuidingRISSample * | ris_sample, |
| ccl_private const float | guiding_sampling_prob ) |
Definition at line 34 of file kernel/integrator/guiding.h.
References M_PI_F.
| ccl_device_forceinline bool guiding_bsdf_init | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float3 | P, | ||
| const float3 | N, | ||
| ccl_private float & | rand ) |
Definition at line 505 of file kernel/integrator/guiding.h.
| ccl_device_forceinline float guiding_bsdf_pdf | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float3 | wo ) |
Definition at line 539 of file kernel/integrator/guiding.h.
Referenced by surface_shader_bsdf_eval().
| ccl_device_forceinline float guiding_bsdf_sample | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float2 | rand_bsdf, | ||
| ccl_private float3 * | wo ) |
Definition at line 523 of file kernel/integrator/guiding.h.
References make_float3(), float2::x, and float2::y.
| ccl_device_forceinline bool guiding_phase_init | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float3 | P, | ||
| const float3 | D, | ||
| const float | g, | ||
| ccl_private float & | rand ) |
Definition at line 563 of file kernel/integrator/guiding.h.
| ccl_device_forceinline float guiding_phase_pdf | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float3 | wo ) |
Definition at line 604 of file kernel/integrator/guiding.h.
| ccl_device_forceinline float guiding_phase_sample | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float2 | rand_phase, | ||
| ccl_private float3 * | wo ) |
Definition at line 588 of file kernel/integrator/guiding.h.
References make_float3(), float2::x, and float2::y.
| ccl_device_forceinline void guiding_record_background | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const Spectrum | L, | ||
| const float | mis_weight ) |
Definition at line 378 of file kernel/integrator/guiding.h.
References INTEGRATOR_STATE, kernel_data, L, make_float3(), P, spectrum_to_rgb(), and state.
Referenced by integrate_background(), and integrate_distant_lights().
| ccl_device_forceinline void guiding_record_bssrdf_bounce | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float | pdf, | ||
| const float3 | N, | ||
| const float3 | wo, | ||
| const Spectrum | weight, | ||
| const Spectrum | albedo ) |
Definition at line 208 of file kernel/integrator/guiding.h.
References clamp(), kernel_assert, kernel_data, N, one_float3(), spectrum_to_rgb(), and state.
| ccl_device_forceinline void guiding_record_bssrdf_segment | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float3 | P, | ||
| const float3 | wi ) |
Definition at line 156 of file kernel/integrator/guiding.h.
References kernel_data, one_float3(), P, state, and zero_float3().
| ccl_device_forceinline void guiding_record_bssrdf_weight | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const Spectrum | weight, | ||
| const Spectrum | albedo ) |
Definition at line 181 of file kernel/integrator/guiding.h.
References kernel_assert, kernel_data, safe_divide_color(), spectrum_to_rgb(), state, and zero_float3().
| ccl_device_forceinline void guiding_record_continuation_probability | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float | continuation_probability ) |
Definition at line 440 of file kernel/integrator/guiding.h.
References kernel_data, and state.
Referenced by integrator_intersect_terminate().
| ccl_device_forceinline void guiding_record_direct_light | ( | KernelGlobals | kg, |
| IntegratorShadowState | state ) |
Definition at line 406 of file kernel/integrator/guiding.h.
References INTEGRATOR_STATE, kernel_data, safe_divide_color(), spectrum_to_rgb(), and state.
Referenced by integrator_shade_shadow().
| ccl_device_forceinline void guiding_record_light_surface_segment | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_private const Intersection *ccl_restrict | isect ) |
Definition at line 346 of file kernel/integrator/guiding.h.
References INTEGRATOR_STATE, kernel_data, one_float3(), P, state, and zero_float3().
Referenced by integrate_light().
| ccl_device_forceinline void guiding_record_surface_bounce | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_private const ShaderData * | sd, | ||
| const Spectrum | weight, | ||
| const float | pdf, | ||
| const float3 | N, | ||
| const float3 | wo, | ||
| const float2 | roughness, | ||
| const float | eta ) |
Definition at line 100 of file kernel/integrator/guiding.h.
References clamp(), fminf, kernel_assert, kernel_data, N, one_float3(), safe_sqrtf(), spectrum_to_rgb(), state, float2::x, and float2::y.
Referenced by integrate_surface_bsdf_bssrdf_bounce().
| ccl_device_forceinline void guiding_record_surface_emission | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const Spectrum | Le, | ||
| const float | mis_weight ) |
Definition at line 134 of file kernel/integrator/guiding.h.
References kernel_data, spectrum_to_rgb(), and state.
Referenced by integrate_light(), and integrate_surface_emission().
| ccl_device_forceinline void guiding_record_surface_segment | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_private const ShaderData * | sd ) |
Definition at line 76 of file kernel/integrator/guiding.h.
References kernel_data, one_float3(), state, and zero_float3().
Referenced by integrate_surface().
| ccl_device_forceinline void guiding_record_volume_bounce | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_private const ShaderData * | sd, | ||
| const Spectrum | weight, | ||
| const float | pdf, | ||
| const float3 | wo, | ||
| const float | roughness ) |
Definition at line 263 of file kernel/integrator/guiding.h.
References kernel_assert, kernel_data, make_float3(), one_float3(), spectrum_to_rgb(), and state.
| ccl_device_forceinline void guiding_record_volume_emission | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const Spectrum | Le ) |
Definition at line 322 of file kernel/integrator/guiding.h.
References kernel_data, spectrum_to_rgb(), and state.
| ccl_device_forceinline void guiding_record_volume_segment | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float3 | P, | ||
| const float3 | I ) |
Definition at line 238 of file kernel/integrator/guiding.h.
References I, kernel_data, one_float3(), P, state, and zero_float3().
| ccl_device_forceinline void guiding_record_volume_transmission | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float3 | transmittance_weight ) |
Definition at line 294 of file kernel/integrator/guiding.h.
References kernel_data, and state.
| ccl_device_forceinline float guiding_surface_incoming_radiance_pdf | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| const float3 | wo ) |
Definition at line 550 of file kernel/integrator/guiding.h.
| ccl_device_forceinline void guiding_write_debug_passes | ( | KernelGlobals | kg, |
| IntegratorState | state, | ||
| ccl_private const ShaderData * | sd, | ||
| ccl_global float *ccl_restrict | render_buffer ) |
Definition at line 459 of file kernel/integrator/guiding.h.
References bsdf_get_specular_roughness_squared(), ccl_global, ccl_private, CLOSURE_IS_BSDF_OR_BSSRDF, film_pass_pixel_render_buffer(), film_write_pass_float(), INTEGRATOR_STATE, kernel_data, PASS_UNUSED, render_buffer, ShaderClosure, and state.
Referenced by integrate_surface().