Blender Git Commit Log
Git Commits -> Revision 10198e9
Revision 10198e9 by Brecht Van Lommel (master) October 12, 2009, 19:41 (GMT) |
Deep Shadow Buffer Since the deep shadow buffer summer of code project is not actively under development anymore, I decided to build my own DSM implementation from scratch, based on reusing as much existing shadow buffer code as possible. It's not very advanced, but implements the basic algorithm. Just enough so we can do shading tests with it, optimizations and other improvements can be done later. Supported: * Classical shadow buffer options: filter, soft, bias, .. * Multiple sample buffers, merged into one. * Halfway trick to support lower bias. * Compression with user defined threshold. * Non-textured alpha transparency, using Casting Alpha value. * Strand render. Not Supported: * Tiling disk cache, so can use a lot of memory. * Per part rendering for lower memory usage during creation. * Colored shadow. * Textured color/alpha shadow. * Mipmaps for faster filtering. * Volume shadows. Usage Hints: * Use sample buffers + smaller size rather than large size. * For example 512 size x 9 sample buffers instead of 2048 x 1. * Compression threshold 0.05 works, but is on the conservative side. |
Commit Details:
Full Hash: 10198e99ff398380696e3408f752280e6bb5106d
SVN Revision: 23794
Parent Commit: b5f820c
Lines Changed: +650, -137
15 Modified Paths:
/release/scripts/ui/buttons_data_lamp.py (+3, -1) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+5, -1) (Diff)
/source/blender/makesdna/DNA_lamp_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+1, -1) (Diff)
/source/blender/render/intern/include/render_types.h (+10, -1) (Diff)
/source/blender/render/intern/include/zbuf.h (+5, -2) (Diff)
/source/blender/render/intern/source/convertblender.c (+3, -1) (Diff)
/source/blender/render/intern/source/rendercore.c (+1, -1) (Diff)
/source/blender/render/intern/source/shadbuf.c (+461, -27) (Diff)
/source/blender/render/intern/source/shadeinput.c (+7, -6) (Diff)
/source/blender/render/intern/source/strand.c (+38, -33) (Diff)
/source/blender/render/intern/source/zbuf.c (+105, -61) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+5, -1) (Diff)
/source/blender/makesdna/DNA_lamp_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+7, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+1, -1) (Diff)
/source/blender/render/intern/include/render_types.h (+10, -1) (Diff)
/source/blender/render/intern/include/zbuf.h (+5, -2) (Diff)
/source/blender/render/intern/source/convertblender.c (+3, -1) (Diff)
/source/blender/render/intern/source/rendercore.c (+1, -1) (Diff)
/source/blender/render/intern/source/shadbuf.c (+461, -27) (Diff)
/source/blender/render/intern/source/shadeinput.c (+7, -6) (Diff)
/source/blender/render/intern/source/strand.c (+38, -33) (Diff)
/source/blender/render/intern/source/zbuf.c (+105, -61) (Diff)