Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/ui.py
| Show First 20 Lines • Show All 289 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| col.active = not (cscene.use_adaptive_sampling and cscene.use_preview_adaptive_sampling) | col.active = not (cscene.use_adaptive_sampling and cscene.use_preview_adaptive_sampling) | ||||
| col.prop(cscene, "sampling_pattern", text="Pattern") | col.prop(cscene, "sampling_pattern", text="Pattern") | ||||
| col = layout.column(align=True) | col = layout.column(align=True) | ||||
| col.prop(cscene, "sample_offset") | col.prop(cscene, "sample_offset") | ||||
| layout.separator() | layout.separator() | ||||
| col = layout.column(align=True) | heading = layout.column(align=True, heading="Scrambling Distance") | ||||
| col.active = not (cscene.use_adaptive_sampling and cscene.use_preview_adaptive_sampling) | heading.active = not (cscene.use_adaptive_sampling and cscene.use_preview_adaptive_sampling) | ||||
| col.prop(cscene, "scrambling_distance", text="Scrambling Distance") | heading.prop(cscene, "auto_scrambling_distance", text="Automatic") | ||||
| col.prop(cscene, "adaptive_scrambling_distance", text="Adaptive") | sub = heading.row() | ||||
| sub = col.row(align=True) | |||||
| sub.active = not cscene.use_preview_adaptive_sampling | sub.active = not cscene.use_preview_adaptive_sampling | ||||
| sub.prop(cscene, "preview_scrambling_distance", text="Viewport") | sub.prop(cscene, "preview_scrambling_distance", text="Viewport") | ||||
| heading.prop(cscene, "scrambling_distance", text="Multiplier") | |||||
| layout.separator() | layout.separator() | ||||
| col = layout.column(align=True) | col = layout.column(align=True) | ||||
| col.prop(cscene, "min_light_bounces") | col.prop(cscene, "min_light_bounces") | ||||
| col.prop(cscene, "min_transparent_bounces") | col.prop(cscene, "min_transparent_bounces") | ||||
| col.prop(cscene, "light_sampling_threshold", text="Light Threshold") | col.prop(cscene, "light_sampling_threshold", text="Light Threshold") | ||||
| ▲ Show 20 Lines • Show All 1,905 Lines • Show Last 20 Lines | |||||