diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-13 14:18:08 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-13 14:18:08 +0300 |
commit | b12793fb4ffc539a3b786604865c2d6aaf526453 (patch) | |
tree | 8c76f51964109f52694f4ddeec6e4d62a604cdd6 /source/blender/makesdna | |
parent | 31922633670f03ceb2e963984e418fecd1a59d40 (diff) |
Render Simplification
This adds a few settings to control global render quality, for faster
renders when tweaking lighting etc. The implementation is not so great,
and this should really be part of a proper render profile and preset
system. So for now it's a hidden Peach feature, enabled by setting rt
to 1. Before the next release, I'll either remove or improve it.
Settings are:
- Maximum subsurf level
- Child particles percentage
- Maximum shadow map samples
- AO and SSS quality factor
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 29fc39e838f..e600b3ea242 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -298,6 +298,12 @@ typedef struct RenderData { /* foreground/background color. */ float fg_stamp[4]; float bg_stamp[4]; + + /* render simplify */ + int simplify_subsurf; + int simplify_shadowsamples; + float simplify_particles; + float simplify_aosss; } RenderData; @@ -558,6 +564,7 @@ typedef struct Scene { #define R_SSS 0x200000 #define R_NO_OVERWRITE 0x400000 /* skip existing files */ #define R_TOUCH 0x800000 /* touch files before rendering */ +#define R_SIMPLIFY 0x1000000 /* filtertype */ |