Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/properties.py
| Show First 20 Lines • Show All 260 Lines • ▼ Show 20 Lines | def register(cls): | ||||
| default=True, | default=True, | ||||
| ) | ) | ||||
| cls.sample_all_lights_indirect = BoolProperty( | cls.sample_all_lights_indirect = BoolProperty( | ||||
| name="Sample All Indirect Lights", | name="Sample All Indirect Lights", | ||||
| description="Sample all lights (for indirect samples), rather than randomly picking one", | description="Sample all lights (for indirect samples), rather than randomly picking one", | ||||
| default=True, | default=True, | ||||
| ) | ) | ||||
| cls.light_sampling_threshold = FloatProperty( | |||||
| name="Light Sampling Threshold", | |||||
| description="Probabilistically terminate light samples when the light contribution is below this threshold (more noise but faster rendering). " | |||||
brecht: Maybe a better description: "Probabilistically terminate light samples when the light… | |||||
| "Zero disables the test and never ignores lights.", | |||||
| min=0.0, max=1.0, | |||||
Not Done Inline ActionsCan we add a reasonable soft max here, maybe 1.0? brecht: Can we add a reasonable soft max here, maybe `1.0`? | |||||
| default=0.05, | |||||
| ) | |||||
| cls.caustics_reflective = BoolProperty( | cls.caustics_reflective = BoolProperty( | ||||
| name="Reflective Caustics", | name="Reflective Caustics", | ||||
| description="Use reflective caustics, resulting in a brighter image (more noise but added realism)", | description="Use reflective caustics, resulting in a brighter image (more noise but added realism)", | ||||
| default=True, | default=True, | ||||
| ) | ) | ||||
| cls.caustics_refractive = BoolProperty( | cls.caustics_refractive = BoolProperty( | ||||
| ▲ Show 20 Lines • Show All 873 Lines • Show Last 20 Lines | |||||
Maybe a better description: "Probabilistically terminate light samples when the light contribution is below this threshold (faster but noisier)."