From a39a6517af6603fcb16728daed88b642c88aa6eb Mon Sep 17 00:00:00 2001 From: Cody Winchester Date: Sun, 19 Apr 2020 17:25:36 +0200 Subject: GPencil: Add Texture modifier This patch aims to add a new modifier for grease pencil objects that gives more control over the strokes texture UVs. There are 3 modes. 1 Control the stroke texture UVs alone 2 Control the fill texture UVs alone 3 Control both the fill and stroke texture UVs For the stroke texture UVs there are 2 options for fitting the texture to the stroke. 1 The texture uvs are kept a consistent length how it currently is set by default. 2 The uvs are normalized to fit the length of the stroke regardless of how long or short it gets allowing the texture to fit the length of the stroke. There are then 2 controls to scale up and down the uvs and an offset value that allows moving the texture along the stroke. For the fill texture UVs it includes all of the transformational controls. Location offset, scale, and rotation. Reviewed By: antoniov, mendio Differential Revision: https://developer.blender.org/D7439 --- source/blender/gpencil_modifiers/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpencil_modifiers/CMakeLists.txt') diff --git a/source/blender/gpencil_modifiers/CMakeLists.txt b/source/blender/gpencil_modifiers/CMakeLists.txt index 87743911add..0e8aafad7ac 100644 --- a/source/blender/gpencil_modifiers/CMakeLists.txt +++ b/source/blender/gpencil_modifiers/CMakeLists.txt @@ -59,6 +59,7 @@ set(SRC intern/MOD_gpencilthick.c intern/MOD_gpenciltime.c intern/MOD_gpenciltint.c + intern/MOD_gpenciltexture.c MOD_gpencil_modifiertypes.h ) -- cgit v1.2.3