Blender Git Commit Log

Git Commits -> Revision fed6c1a

Revision fed6c1a by Jeroen Bakker (master)
June 21, 2019, 07:53 (GMT)
Fix T62876: Camera Background Images

Migrate old legacy code to the draw mamager/object mode. The old legacy
version did not work with wireframe. By migrating the code
to modern draw manager code we have mode control on the drawing process.

Still background images do not work with OIT, the cause seems to be that the transparent pixels are treated as background pixels.
Also There are some artifacts when working with Holdouts and DoF, this
is because the draw engines do not pass the correct alpha values.

Reviewers: fclem, brecht

Differential Revision: https://developer.blender.org/D4638

Commit Details:

Full Hash: fed6c1a970f1df14da7c5fd4dfaf84371efcbe5d
Parent Commit: a3a6cda
Lines Changed: +546, -502

3 Added Paths:

/source/blender/draw/modes/shaders/common_colormanagement_lib.glsl (+30, -0) (View)
/source/blender/draw/modes/shaders/object_camera_image_frag.glsl (+23, -0) (View)
/source/blender/draw/modes/shaders/object_camera_image_vert.glsl (+18, -0) (View)

17 Modified Paths:

/source/blender/blenkernel/intern/movieclip.c (+13, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+3, -0) (Diff)
/source/blender/draw/engines/gpencil/gpencil_engine.c (+24, -15) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_fill_frag.glsl (+0, -25) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_point_frag.glsl (+0, -25) (Diff)
/source/blender/draw/engines/gpencil/shaders/gpencil_stroke_frag.glsl (+0, -25) (Diff)
/source/blender/draw/intern/draw_manager.c (+0, -21) (Diff)
/source/blender/draw/modes/object_mode.c (+328, -2) (Diff)
/source/blender/draw/modes/paint_texture_mode.c (+4, -1) (Diff)
/source/blender/draw/modes/shaders/object_empty_image_frag.glsl (+0, -25) (Diff)
/source/blender/draw/modes/shaders/paint_texture_frag.glsl (+0, -25) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+0, -335) (Diff)
/source/blender/gpu/GPU_texture.h (+8, -0) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+79, -3) (Diff)
/source/blender/makesdna/DNA_movieclip_types.h (+13, -0) (Diff)
/source/blender/makesrna/intern/rna_camera.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021