Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/properties.py
| Show First 20 Lines • Show All 199 Lines • ▼ Show 20 Lines | def register(cls): | ||||
| description="Preview active render layer in viewport", | description="Preview active render layer in viewport", | ||||
| default=False, | default=False, | ||||
| ) | ) | ||||
| cls.aa_samples = IntProperty( | cls.aa_samples = IntProperty( | ||||
| name="AA Samples", | name="AA Samples", | ||||
| description="Number of antialiasing samples to render for each pixel", | description="Number of antialiasing samples to render for each pixel", | ||||
| min=1, max=2097151, | min=1, max=2097151, | ||||
| default=4, | default=128, | ||||
| ) | ) | ||||
| cls.preview_aa_samples = IntProperty( | cls.preview_aa_samples = IntProperty( | ||||
| name="AA Samples", | name="AA Samples", | ||||
| description="Number of antialiasing samples to render in the viewport, unlimited if 0", | description="Number of antialiasing samples to render in the viewport, unlimited if 0", | ||||
| min=0, max=2097151, | min=0, max=2097151, | ||||
| default=4, | default=32, | ||||
| ) | ) | ||||
| cls.diffuse_samples = IntProperty( | cls.diffuse_samples = IntProperty( | ||||
| name="Diffuse Samples", | name="Diffuse Samples", | ||||
| description="Number of diffuse bounce samples to render for each AA sample", | description="Number of diffuse bounce samples to render for each AA sample", | ||||
| min=1, max=1024, | min=1, max=1024, | ||||
| default=1, | default=1, | ||||
| ) | ) | ||||
| cls.glossy_samples = IntProperty( | cls.glossy_samples = IntProperty( | ||||
| ▲ Show 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | def register(cls): | ||||
| default=True, | default=True, | ||||
| ) | ) | ||||
| 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=1.0, | ||||
| ) | ) | ||||
| 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, | ||||
| ) | ) | ||||
| ▲ Show 20 Lines • Show All 128 Lines • ▼ Show 20 Lines | def register(cls): | ||||
| ) | ) | ||||
| cls.sample_clamp_indirect = FloatProperty( | cls.sample_clamp_indirect = FloatProperty( | ||||
| name="Clamp Indirect", | name="Clamp Indirect", | ||||
| description="If non-zero, the maximum value for an indirect sample, " | description="If non-zero, the maximum value for an indirect sample, " | ||||
| "higher values will be scaled down to avoid too " | "higher values will be scaled down to avoid too " | ||||
| "much noise and slow convergence at the cost of accuracy", | "much noise and slow convergence at the cost of accuracy", | ||||
| min=0.0, max=1e8, | min=0.0, max=1e8, | ||||
| default=0.0, | default=10.0, | ||||
| ) | ) | ||||
| cls.debug_tile_size = IntProperty( | cls.debug_tile_size = IntProperty( | ||||
| name="Tile Size", | name="Tile Size", | ||||
| description="", | description="", | ||||
| min=1, max=4096, | min=1, max=4096, | ||||
| default=1024, | default=1024, | ||||
| ) | ) | ||||
| ▲ Show 20 Lines • Show All 983 Lines • Show Last 20 Lines | |||||