Blender Git Commit Log

Git Commits -> Revision 7fa7826

Revision 7fa7826 by Ton Roosendaal (master)
April 23, 2005, 20:49 (GMT)
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. :)

Commit Details:

Full Hash: 7fa7826da743a811e7b48247110684a13a52befb
SVN Revision: 4298
Parent Commit: 0dcba86
Lines Changed: +971, -40

2 Added Paths:

/source/blender/render/intern/include/zblur.h (+48, -0) (View)
/source/blender/render/intern/source/zblur.c (+817, -0) (View)

14 Modified Paths:

/source/blender/blenkernel/intern/scene.c (+6, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+7, -9) (Diff)
/source/blender/include/BIF_editview.h (+1, -0) (Diff)
/source/blender/include/butspace.h (+4, -0) (Diff)
/source/blender/makesdna/DNA_camera_types.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+5, -1) (Diff)
/source/blender/render/intern/source/initrender.c (+5, -0) (Diff)
/source/blender/render/intern/source/shadbuf.c (+1, -0) (Diff)
/source/blender/render/intern/source/zbufferdatastruct.c (+1, -1) (Diff)
/source/blender/render/SConscript (+1, -0) (Diff)
/source/blender/src/butspace.c (+1, -1) (Diff)
/source/blender/src/buttons_editing.c (+20, -3) (Diff)
/source/blender/src/buttons_scene.c (+48, -20) (Diff)
/source/blender/src/renderwin.c (+4, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021