Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/ui.py
| Context not available. | |||||
| col = layout.column(align=True) | col = layout.column(align=True) | ||||
| col.active = not(cscene.use_adaptive_sampling) | col.active = not(cscene.use_adaptive_sampling) | ||||
| col.prop(cscene, "sampling_pattern", text="Pattern") | col.prop(cscene, "sampling_pattern", text="Pattern") | ||||
| col = layout.column(align=True) | |||||
| col.active = cscene.sampling_pattern == 'SOBOL' and not cscene.use_adaptive_sampling | |||||
| col.prop(cscene, "scrambling_distance", text="Scrambling Distance Strength") | |||||
| col.prop(cscene, "adaptive_scrambling_distance", text="Adaptive Scrambling Distance") | |||||
| col = layout.column(align=True) | |||||
| col.active = ((cscene.scrambling_distance < 1.0) or cscene.adaptive_scrambling_distance) and cscene.sampling_pattern == 'SOBOL' and not cscene.use_adaptive_sampling | |||||
| col.prop(cscene, "scrambling_distance_vp", text="Viewport Scrambling Distance") | |||||
| layout.separator() | layout.separator() | ||||
| Context not available. | |||||