Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/properties.py
| Show First 20 Lines • Show All 305 Lines • ▼ Show 20 Lines | def register(cls): | ||||
| cls.blur_glossy = FloatProperty( | cls.blur_glossy = FloatProperty( | ||||
| name="Filter Glossy", | name="Filter Glossy", | ||||
| description="Adaptively blur glossy shaders after blurry bounces, " | description="Adaptively blur glossy shaders after blurry bounces, " | ||||
| "to reduce noise at the cost of accuracy", | "to reduce noise at the cost of accuracy", | ||||
| min=0.0, max=10.0, | min=0.0, max=10.0, | ||||
| default=0.0, | default=0.0, | ||||
| ) | ) | ||||
| cls.min_bounces = IntProperty( | |||||
| name="Min Bounces", | |||||
| description="Minimum number of bounces, setting this lower " | |||||
| "than the maximum enables probabilistic path " | |||||
| "termination (faster but noisier)", | |||||
| min=0, max=1024, | |||||
| default=3, | |||||
| ) | |||||
| cls.max_bounces = IntProperty( | cls.max_bounces = IntProperty( | ||||
| name="Max Bounces", | name="Max Bounces", | ||||
| description="Total maximum number of bounces", | description="Total maximum number of bounces", | ||||
| min=0, max=1024, | min=0, max=1024, | ||||
| default=12, | default=12, | ||||
| ) | ) | ||||
| cls.diffuse_bounces = IntProperty( | cls.diffuse_bounces = IntProperty( | ||||
| Show All 16 Lines | def register(cls): | ||||
| ) | ) | ||||
| cls.volume_bounces = IntProperty( | cls.volume_bounces = IntProperty( | ||||
| name="Volume Bounces", | name="Volume Bounces", | ||||
| description="Maximum number of volumetric scattering events", | description="Maximum number of volumetric scattering events", | ||||
| min=0, max=1024, | min=0, max=1024, | ||||
| default=0, | default=0, | ||||
| ) | ) | ||||
| cls.transparent_min_bounces = IntProperty( | |||||
| name="Transparent Min Bounces", | |||||
| description="Minimum number of transparent bounces, setting " | |||||
| "this lower than the maximum enables " | |||||
| "probabilistic path termination (faster but " | |||||
| "noisier)", | |||||
| min=0, max=1024, | |||||
| default=8, | |||||
| ) | |||||
| cls.transparent_max_bounces = IntProperty( | cls.transparent_max_bounces = IntProperty( | ||||
| name="Transparent Max Bounces", | name="Transparent Max Bounces", | ||||
| description="Maximum number of transparent bounces", | description="Maximum number of transparent bounces", | ||||
| min=0, max=1024, | min=0, max=1024, | ||||
| default=8, | default=8, | ||||
| ) | ) | ||||
| cls.use_transparent_shadows = BoolProperty( | cls.use_transparent_shadows = BoolProperty( | ||||
| name="Transparent Shadows", | name="Transparent Shadows", | ||||
| ▲ Show 20 Lines • Show All 1,099 Lines • Show Last 20 Lines | |||||