Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/properties.py
| Show First 20 Lines • Show All 390 Lines • ▼ Show 20 Lines | def register(cls): | ||||
| cls.film_exposure = FloatProperty( | cls.film_exposure = FloatProperty( | ||||
| name="Exposure", | name="Exposure", | ||||
| description="Image brightness scale", | description="Image brightness scale", | ||||
| min=0.0, max=10.0, | min=0.0, max=10.0, | ||||
| default=1.0, | default=1.0, | ||||
| ) | ) | ||||
| cls.film_transparent = BoolProperty( | cls.film_transparent = BoolProperty( | ||||
| name="Transparent", | name="Transparent", | ||||
| description="World background is transparent with premultiplied alpha", | description="World background is transparent, for compositing the render over another background", | ||||
| default=False, | default=False, | ||||
| ) | ) | ||||
| cls.film_transparent_glass = BoolProperty( | |||||
| name="Transparent Glass", | |||||
| description="Render transmissive surfaces as transparent, for compositing glass over another background", | |||||
| default=False, | |||||
| ) | |||||
| cls.film_transparent_roughness = FloatProperty( | |||||
| name="Transparent Roughness Threshold", | |||||
| description="For transparent transmission, keep surfaces with roughness above the threshold opaque", | |||||
| min=0.0, max=1.0, | |||||
| default=0.1, | |||||
| ) | |||||
| # Really annoyingly, we have to keep it around for a few releases, | # Really annoyingly, we have to keep it around for a few releases, | ||||
| # otherwise forward compatibility breaks in really bad manner: CRASH! | # otherwise forward compatibility breaks in really bad manner: CRASH! | ||||
| # | # | ||||
| # TODO(sergey): Remove this during 2.8x series of Blender. | # TODO(sergey): Remove this during 2.8x series of Blender. | ||||
| cls.filter_type = EnumProperty( | cls.filter_type = EnumProperty( | ||||
| name="Filter Type", | name="Filter Type", | ||||
| description="Pixel filter type", | description="Pixel filter type", | ||||
| ▲ Show 20 Lines • Show All 1,084 Lines • Show Last 20 Lines | |||||