|
Blender V5.0
|
Go to the source code of this file.
Classes | |
| struct | LightSample |
Functions | |
| ccl_device_inline float3 | ellipse_sample (const float3 ru, const float3 rv, const float2 rand) |
| ccl_device_inline float3 | rectangle_sample (const float3 ru, const float3 rv, const float2 rand) |
| ccl_device float3 | disk_light_sample (const float3 n, const float2 rand) |
| ccl_device float | light_pdf_area_to_solid_angle (const float3 Ng, const float3 I, const float t) |
| ccl_device_inline bool | is_light_shader_visible_to_path (const int shader, const uint32_t path_flag) |
| ccl_device float3 disk_light_sample | ( | const float3 | n, |
| const float2 | rand ) |
Definition at line 45 of file light/common.h.
References ccl_device, ellipse_sample(), and make_orthonormals().
Referenced by point_light_sample(), and spot_light_sample().
| ccl_device_inline float3 ellipse_sample | ( | const float3 | ru, |
| const float3 | rv, | ||
| const float2 | rand ) |
Definition at line 34 of file light/common.h.
References ccl_device_inline, sample_uniform_disk(), float2::x, and float2::y.
Referenced by area_light_eval(), background_portal_sample(), and disk_light_sample().
| ccl_device_inline bool is_light_shader_visible_to_path | ( | const int | shader, |
| const uint32_t | path_flag ) |
Definition at line 67 of file light/common.h.
References ccl_device_inline, PATH_RAY_CAMERA, PATH_RAY_DIFFUSE, PATH_RAY_GLOSSY, PATH_RAY_REFLECT, PATH_RAY_TRANSMIT, PATH_RAY_VOLUME_SCATTER, SHADER_EXCLUDE_ANY, SHADER_EXCLUDE_CAMERA, SHADER_EXCLUDE_DIFFUSE, SHADER_EXCLUDE_GLOSSY, SHADER_EXCLUDE_SCATTER, and SHADER_EXCLUDE_TRANSMIT.
Referenced by integrate_distant_lights(), integrate_light(), and integrator_eval_background_shader().
| ccl_device float light_pdf_area_to_solid_angle | ( | const float3 | Ng, |
| const float3 | I, | ||
| const float | t ) |
Definition at line 55 of file light/common.h.
References ccl_device, dot(), and I.
Referenced by area_light_eval(), area_light_mnee_sample_update(), background_portal_pdf(), background_portal_sample(), point_light_sample(), point_light_sample_from_intersection(), spot_light_sample(), and spot_light_sample_from_intersection().
| ccl_device_inline float3 rectangle_sample | ( | const float3 | ru, |
| const float3 | rv, | ||
| const float2 | rand ) |
Definition at line 40 of file light/common.h.
References ccl_device_inline, float2::x, and float2::y.
Referenced by area_light_eval().