Blender Git Loki

Git Commits -> Revision f8f7c0c

Revision f8f7c0c by YimingWu (master)
April 28, 2021, 14:53 (GMT)
GPencil: Fading based on distance to reference object in Opacity and Thickness modifiers

This patch allows you to dynamically control stroke's opacity and thickness using an object for distance reference in the modifier. Fading range is adjustable, and it is compatible with current curve/vertex group selection.

Reviewed By: #grease_pencil, antoniov, mendio

Maniphest Tasks: T82177, T80194

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

Commit Details:

Full Hash: f8f7c0ca6db87e5f2613896156e595d2bea5fdde
Parent Commit: 67a52c8
Committed By: Antonio Vazquez
Lines Changed: +233, -4

7 Modified Paths:

/source/blender/gpencil_modifiers/intern/MOD_gpencilopacity.c (+72, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilthick.c (+58, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.c (+15, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencil_ui_common.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_modifier_defaults.h (+4, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_modifier_types.h (+16, -2) (Diff)
/source/blender/makesrna/intern/rna_gpencil_modifier.c (+66, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021