diff options
author | Jacques Lucke <jacques@blender.org> | 2020-10-01 18:58:43 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-10-01 18:59:04 +0300 |
commit | 365bf103d1f66824180a592c11cb4181c5791719 (patch) | |
tree | db0907d006e4491c7c12dd69f82dc327c96626d3 /release/scripts/startup/bl_ui | |
parent | 5b8503425a491f94f526d1f65cefea1599cafd92 (diff) |
Volumes: support lower resolution in viewport
The adds a new option to simplify volumes in the viewport.
The setting can be found in the Simplify panel in the render properties.
Volume objects use OpenVDB grids, which are sparse. For rendering,
we have to convert sparse grids to dense grids (for now). Those require
significantly more memory. Therefore, it's often a good idea to reduce
the resolution of volumes in the viewport.
Reviewers: brecht
Differential Revision: https://developer.blender.org/D9040
Ref T73201.
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index 7995cf21877..1c52001f32e 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -656,6 +656,9 @@ class RENDER_PT_simplify_viewport(RenderButtonsPanel, Panel): col = flow.column() col.prop(rd, "simplify_child_particles", text="Max Child Particles") + col = flow.column() + col.prop(rd, "simplify_volumes", text="Volume Resolution") + class RENDER_PT_simplify_render(RenderButtonsPanel, Panel): bl_label = "Render" |