diff options
author | Ton Roosendaal <ton@blender.org> | 2005-04-24 00:49:23 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-04-24 00:49:23 +0400 |
commit | 7fa7826da743a811e7b48247110684a13a52befb (patch) | |
tree | ac30359d7555ce7d67c44ed8d7aa4badb059c6c6 /source/blender/makesdna/DNA_camera_types.h | |
parent | 0dcba86c6b631a31eadb5e8805c5c94222559e25 (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/makesdna/DNA_camera_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_camera_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_camera_types.h b/source/blender/makesdna/DNA_camera_types.h index 8b6f0eb369b..2041aae3429 100644 --- a/source/blender/makesdna/DNA_camera_types.h +++ b/source/blender/makesdna/DNA_camera_types.h @@ -54,7 +54,7 @@ typedef struct Camera { float YF_dofdist, YF_aperture; short YF_bkhtype, YF_bkhbias; float YF_bkhrot; - + struct Ipo *ipo; ScriptLink scriptlink; @@ -72,6 +72,7 @@ typedef struct Camera { /* yafray: dof sampling switch */ #define CAM_YF_NO_QMC 4 + #ifdef __cplusplus } #endif |