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 /source/blender/makesdna/DNA_scene_types.h | |
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 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 9d1af5a2cdc..df9ad358540 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -731,7 +731,7 @@ typedef struct RenderData { char seq_rend_type; /** Flag use for sequence render/draw. */ char seq_flag; - char _pad5[7]; + char _pad5[3]; /* render simplify */ short simplify_subsurf; @@ -739,6 +739,7 @@ typedef struct RenderData { short simplify_gpencil; float simplify_particles; float simplify_particles_render; + float simplify_volumes; /* Freestyle line thickness options */ int line_thickness_mode; |