Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/ui.py
| Show First 20 Lines • Show All 286 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| split = layout.split() | split = layout.split() | ||||
| col = split.column() | col = split.column() | ||||
| sub = col.column(align=True) | sub = col.column(align=True) | ||||
| sub.label("Transparency:") | sub.label("Transparency:") | ||||
| sub.prop(cscene, "transparent_max_bounces", text="Max") | sub.prop(cscene, "transparent_max_bounces", text="Max") | ||||
| sub.prop(cscene, "transparent_min_bounces", text="Min") | |||||
| sub.prop(cscene, "use_transparent_shadows", text="Shadows") | sub.prop(cscene, "use_transparent_shadows", text="Shadows") | ||||
| col.separator() | col.separator() | ||||
| col.prop(cscene, "caustics_reflective") | col.prop(cscene, "caustics_reflective") | ||||
| col.prop(cscene, "caustics_refractive") | col.prop(cscene, "caustics_refractive") | ||||
| col.prop(cscene, "blur_glossy") | col.prop(cscene, "blur_glossy") | ||||
| col = split.column() | col = split.column() | ||||
| sub = col.column(align=True) | sub = col.column(align=True) | ||||
| sub.label(text="Bounces:") | sub.label(text="Bounces:") | ||||
| sub.prop(cscene, "max_bounces", text="Max") | sub.prop(cscene, "max_bounces", text="Max") | ||||
| sub.prop(cscene, "min_bounces", text="Min") | |||||
| sub = col.column(align=True) | sub = col.column(align=True) | ||||
| sub.prop(cscene, "diffuse_bounces", text="Diffuse") | sub.prop(cscene, "diffuse_bounces", text="Diffuse") | ||||
| sub.prop(cscene, "glossy_bounces", text="Glossy") | sub.prop(cscene, "glossy_bounces", text="Glossy") | ||||
| sub.prop(cscene, "transmission_bounces", text="Transmission") | sub.prop(cscene, "transmission_bounces", text="Transmission") | ||||
| sub.prop(cscene, "volume_bounces", text="Volume") | sub.prop(cscene, "volume_bounces", text="Volume") | ||||
| ▲ Show 20 Lines • Show All 1,551 Lines • Show Last 20 Lines | |||||