Blender Git Loki

Git Commits -> Revision 9e2efd6

September 12, 2014, 16:04 (GMT)
Framebuffer FX.

This commit introduces offscreen rendering for the 3D viewport.
There is test code that calculates depth and normal data
in screen space.

Currently just DOF is supported with a few parameters to control the
effect

This code recreates the framebuffer and texture objects every frame
which will make it -slow-. Use at your own risk.

Commit Details:

Full Hash: 9e2efd68e1cf063d5e93890422a3def3c5ecd720
Parent Commit: 3ac7066
Lines Changed: +339, -10

2 Added Paths:

/source/blender/gpu/shaders/gpu_shader_fx_frag.glsl (+62, -0) (View)
/source/blender/gpu/shaders/gpu_shader_fx_vert.glsl (+9, -0) (View)

11 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+12, -2) (Diff)
/SConstruct (+2, -0) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+137, -2) (Diff)
/source/blender/gpu/CMakeLists.txt (+2, -0) (Diff)
/source/blender/gpu/GPU_buffers.h (+1, -0) (Diff)
/source/blender/gpu/GPU_extensions.h (+12, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+5, -4) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+58, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+13, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+25, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021