Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-10-01 18:58:43 +0300
committerJacques Lucke <jacques@blender.org>2020-10-01 18:59:04 +0300
commit365bf103d1f66824180a592c11cb4181c5791719 (patch)
treedb0907d006e4491c7c12dd69f82dc327c96626d3 /release/scripts/startup/bl_ui/properties_render.py
parent5b8503425a491f94f526d1f65cefea1599cafd92 (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/properties_render.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py3
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"