Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/properties.py
| Show First 20 Lines • Show All 80 Lines • ▼ Show 20 Lines | enum_use_layer_samples = ( | ||||
| ('IGNORE', "Ignore", "Ignore per render layer number of samples"), | ('IGNORE', "Ignore", "Ignore per render layer number of samples"), | ||||
| ) | ) | ||||
| enum_sampling_pattern = ( | enum_sampling_pattern = ( | ||||
| ('SOBOL', "Sobol-Burley", "Use Sobol-Burley random sampling pattern", 0), | ('SOBOL', "Sobol-Burley", "Use Sobol-Burley random sampling pattern", 0), | ||||
| ('PROGRESSIVE_MULTI_JITTER', "Progressive Multi-Jitter", "Use Progressive Multi-Jitter random sampling pattern", 1), | ('PROGRESSIVE_MULTI_JITTER', "Progressive Multi-Jitter", "Use Progressive Multi-Jitter random sampling pattern", 1), | ||||
| ) | ) | ||||
| enum_emission_sampling = ( | |||||
| ('NONE', 'None', "Do not use this surface as a light for sampling", 0), | |||||
| ('AUTO', 'Auto', "Automatically determine if the surface should be treated as a light for sampling, based on estimated emission intensity", 1), | |||||
| ('FRONT', 'Front', "Treat only front side of the surface as a light, usually for closed meshes whose interior is not visible", 2), | |||||
| ('BACK', 'Back', "Treat only back side of the surface as a light for sampling", 3), | |||||
| ('FRONT_BACK', 'Front and Back', "Treat surface as a light for sampling, emitting from both the front and back side", 4), | |||||
| ) | |||||
| enum_volume_sampling = ( | enum_volume_sampling = ( | ||||
| ('DISTANCE', | ('DISTANCE', | ||||
| "Distance", | "Distance", | ||||
| "Use distance sampling, best for dense volumes with lights far away"), | "Use distance sampling, best for dense volumes with lights far away"), | ||||
| ('EQUIANGULAR', | ('EQUIANGULAR', | ||||
| "Equiangular", | "Equiangular", | ||||
| "Use equiangular sampling, best for volumes with low density with light inside or near the volume"), | "Use equiangular sampling, best for volumes with low density with light inside or near the volume"), | ||||
| ('MULTIPLE_IMPORTANCE', | ('MULTIPLE_IMPORTANCE', | ||||
| ▲ Show 20 Lines • Show All 941 Lines • ▼ Show 20 Lines | class CyclesCameraSettings(bpy.types.PropertyGroup): | ||||
| @classmethod | @classmethod | ||||
| def unregister(cls): | def unregister(cls): | ||||
| del bpy.types.Camera.cycles | del bpy.types.Camera.cycles | ||||
| class CyclesMaterialSettings(bpy.types.PropertyGroup): | class CyclesMaterialSettings(bpy.types.PropertyGroup): | ||||
| sample_as_light: BoolProperty( | emission_sampling: EnumProperty( | ||||
| name="Multiple Importance Sample", | name="Emission Sampling", | ||||
| description="Use multiple importance sampling for this material, " | description="Sampling strategy for emissive surfaces", | ||||
| "disabling may reduce overall noise for large " | items=enum_emission_sampling, | ||||
| "objects that emit little light compared to other light sources", | default="AUTO", | ||||
| default=True, | |||||
| ) | ) | ||||
| use_transparent_shadow: BoolProperty( | use_transparent_shadow: BoolProperty( | ||||
| name="Transparent Shadows", | name="Transparent Shadows", | ||||
| description="Use transparent shadows for this material if it contains a Transparent BSDF, " | description="Use transparent shadows for this material if it contains a Transparent BSDF, " | ||||
| "disabling will render faster but not give accurate shadows", | "disabling will render faster but not give accurate shadows", | ||||
| default=True, | default=True, | ||||
| ) | ) | ||||
| homogeneous_volume: BoolProperty( | homogeneous_volume: BoolProperty( | ||||
| name="Homogeneous Volume", | name="Homogeneous Volume", | ||||
| ▲ Show 20 Lines • Show All 682 Lines • Show Last 20 Lines | |||||