Blender Git Loki

Git Commits -> Revision ba3ef44

Revision ba3ef44 by Alexander Gavrilov (master)
October 8, 2018, 11:15 (GMT)
Implement display of weight isoline contours in the fragment shader.

Add an option to display contour lines tracing through points with the
same interpolated weight value in weight paint mode. This can be useful
for working on gentle gradients over a relatively high resolution mesh,
where the difference in color between adjacent vertices is very small.

The contour grid has 3 levels of detail going down to step 0.001,
which automatically fade in or out based on the weight gradient.

Fade out works by capping both screen space and weight space line
width, and reducing alpha when the screen space width becomes too
small for moire and noise-less rendering.

Reviewers: fclem

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

Commit Details:

Full Hash: ba3ef44a6b57970b278c3a99a7ee00906efa3eb7
Parent Commit: d12e781
Lines Changed: +97, -8

6 Modified Paths:

/release/scripts/startup/bl_ui/space_view3d.py (+11, -2) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+0, -4) (Diff)
/source/blender/draw/modes/paint_weight_mode.c (+2, -0) (Diff)
/source/blender/draw/modes/shaders/paint_weight_frag.glsl (+70, -2) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021