Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/integrator/state_template.h
| Show All 35 Lines | |||||
| KERNEL_STRUCT_MEMBER(path, uint32_t, flag, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, uint32_t, flag, KERNEL_FEATURE_PATH_TRACING) | ||||
| /* enum PathRayMNEE */ | /* enum PathRayMNEE */ | ||||
| KERNEL_STRUCT_MEMBER(path, uint8_t, mnee, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, uint8_t, mnee, KERNEL_FEATURE_PATH_TRACING) | ||||
| /* Multiple importance sampling | /* Multiple importance sampling | ||||
| * The PDF of BSDF sampling at the last scatter point, which is at ray distance | * The PDF of BSDF sampling at the last scatter point, which is at ray distance | ||||
| * zero and distance. Note that transparency and volume attenuation increase | * zero and distance. Note that transparency and volume attenuation increase | ||||
| * the ray tmin but keep P unmodified so that this works. */ | * the ray tmin but keep P unmodified so that this works. */ | ||||
| KERNEL_STRUCT_MEMBER(path, float, mis_ray_pdf, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, float, mis_ray_pdf, KERNEL_FEATURE_PATH_TRACING) | ||||
| KERNEL_STRUCT_MEMBER(path, packed_float3, mis_origin_n, KERNEL_FEATURE_PATH_TRACING) | |||||
| /* Filter glossy. */ | /* Filter glossy. */ | ||||
| KERNEL_STRUCT_MEMBER(path, float, min_ray_pdf, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, float, min_ray_pdf, KERNEL_FEATURE_PATH_TRACING) | ||||
| /* Continuation probability for path termination. */ | /* Continuation probability for path termination. */ | ||||
| KERNEL_STRUCT_MEMBER(path, float, continuation_probability, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, float, continuation_probability, KERNEL_FEATURE_PATH_TRACING) | ||||
| /* Throughput. */ | /* Throughput. */ | ||||
| KERNEL_STRUCT_MEMBER(path, PackedSpectrum, throughput, KERNEL_FEATURE_PATH_TRACING) | KERNEL_STRUCT_MEMBER(path, PackedSpectrum, throughput, KERNEL_FEATURE_PATH_TRACING) | ||||
| /* Ratio of throughput to distinguish diffuse / glossy / transmission render passes. */ | /* Ratio of throughput to distinguish diffuse / glossy / transmission render passes. */ | ||||
| KERNEL_STRUCT_MEMBER(path, PackedSpectrum, pass_diffuse_weight, KERNEL_FEATURE_LIGHT_PASSES) | KERNEL_STRUCT_MEMBER(path, PackedSpectrum, pass_diffuse_weight, KERNEL_FEATURE_LIGHT_PASSES) | ||||
| ▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines | |||||