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:
authorTon Roosendaal <ton@blender.org>2005-04-24 00:49:23 +0400
committerTon Roosendaal <ton@blender.org>2005-04-24 00:49:23 +0400
commit7fa7826da743a811e7b48247110684a13a52befb (patch)
treeac30359d7555ce7d67c44ed8d7aa4badb059c6c6 /source/blender/include/butspace.h
parent0dcba86c6b631a31eadb5e8805c5c94222559e25 (diff)
The zblur plugin (aka as DoF) integrated in render. Compared to patch
submitted by Alexander, changes/improvements are: - Moved to new Panel in Scene buttons "Post Effects". Together with other postprocessing options, such as Edge render. It is also not called DoF, this because that's a bit pretending too much then. It's a zblur still! - Made it render Alpha as well - Made it use and deliver float buffers - Huge cleanup of zblur.c code, was very messy. It was alling things in render code without need even (win matrices, transform faces, etc) - Fixed errors in using Z values (zbuffer is signed int) - Removed very weird gamma corrections for front/back half - Tweaked gaussian table, allow variable 'Sigma' to be set for gauss curve - Didn't copy 'auto focus' yet. Use of this is very limited, and gives false expectations, nor works for rendering anims with deamons well. Main issue remains: it's not a very advanced feature... I still doubt very much if this deserves to be released. Spent 2 days on trying to get the key issues solved, with not much results. - gauss filter code has weird side effects on large blur size - having unsharp (blurred) in front also blurs what's around in back. only blurred in back with sharp in front works a little bit - severe aliasing errors... also due the code splitting in 2 halves - doesnt work with unified yet - won't work for halos, spot halos or transparant faces Anyhoo... It was promised to be committed, so now artists can play with it. Who knows it's useful after all, or some fixes can be implemented. :)
Diffstat (limited to 'source/blender/include/butspace.h')
-rw-r--r--source/blender/include/butspace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/include/butspace.h b/source/blender/include/butspace.h
index 4b5f5a67258..755b5c127fa 100644
--- a/source/blender/include/butspace.h
+++ b/source/blender/include/butspace.h
@@ -77,6 +77,7 @@ extern void do_fontbuts(unsigned short event);
extern void do_mballbuts(unsigned short event);
extern void do_latticebuts(unsigned short event);
extern void do_fpaintbuts(unsigned short event);
+extern void do_cambuts(unsigned short event);
extern char *get_vertexgroup_menustr(struct Object *ob); // used in object buttons
/* shading */
@@ -281,6 +282,9 @@ void test_idbutton_cb(void *namev, void *arg2_unused);
#define B_SWITCHRENDER 1641
#define B_FBUF_REDO 1642
+#define B_SET_EDGE 1643
+#define B_SET_ZBLUR 1644
+
#ifdef __NLA
/* *********************** */
enum {