Blender Git Loki

Git Commits -> Revision 5ff5866

Revision 5ff5866 by Dalai Felinto (master)
October 21, 2016, 20:51 (GMT)
Viewport: use depth shader to debug the depth

At the moment this already shows that the depth is the same after the solid plates and in the very end of drawing, while they should be different. Later on we can adapt this to show different buffers we want to debug.

I am using near=0.1, far=2.0 for my tests. I decided not to make a doversion for near/far because this is for debugging only

Commit Details:

Full Hash: 5ff586610a47aa26ed388270c9a26487c553f1f1
Parent Commit: deb77c0
Lines Changed: +220, -3

6 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+13, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+75, -2) (Diff)
/source/blender/gpu/GPU_viewport.h (+11, -0) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+89, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+8, -1) (Diff)
/source/blender/makesrna/intern/rna_space.c (+24, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021