Blender Git Loki

Git Commits -> Revision 3e87d8a

Revision 3e87d8a by YimingWu (master)
March 16, 2021, 18:59 (GMT)
Grease Pencil: Add LineArt modifier

This adds the LineArt grease pencil modifier.

It takes objects or collections as input and generates various grease
pencil lines from these objects with the help of the active scene
camera. For example it can generate contour lines, intersection lines
and crease lines to name a few.

This is really useful as artists can then use 3D meshes to automatically
generate grease pencil lines for characters, enviroments or other
visualization purposes.

These lines can then be baked and edited as regular grease pencil lines.

Reviewed By: Sebastian Parborg, Antonio Vazquez, Matias Mendiola

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

Commit Details:

Full Hash: 3e87d8a4315d794efff659e40f0bb9e34e2aec8a
Parent Commit: 877238e
Committed By: Sebastian Parborg
Lines Changed: +8056, -28

12 Added Paths:

/release/scripts/startup/bl_ui/properties_collection.py (+98, -0) (View)
/release/scripts/startup/bl_ui/properties_lineart.py (+59, -0) (View)
/source/blender/editors/gpencil/gpencil_add_lineart.c (+120, -0) (View)
/source/blender/gpencil_modifiers/intern/lineart/lineart_chain.c (+980, -0) (View)
/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c (+3931, -0) (View)
/source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h (+113, -0) (View)
/source/blender/gpencil_modifiers/intern/lineart/lineart_ops.c (+439, -0) (View)
/source/blender/gpencil_modifiers/intern/lineart/lineart_util.c (+233, -0) (View)
/source/blender/gpencil_modifiers/intern/lineart/MOD_lineart.h (+552, -0) (View)
/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c (+477, -0) (View)
/source/blender/gpencil_modifiers/MOD_gpencil_lineart.h (+31, -0) (View)
/source/blender/makesdna/DNA_lineart_types.h (+70, -0) (View)

50 Modified Paths:

/release/scripts/startup/bl_ui/properties_material.py (+33, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+6, -8) (Diff)
/release/scripts/startup/bl_ui/__init__.py (+3, -0) (Diff)
/source/blender/blenkernel/BKE_collection.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_global.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_gpencil.h (+5, -0) (Diff)
/source/blender/blenkernel/BKE_gpencil_modifier.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/collection.c (+44, -3) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+40, -0) (Diff)
/source/blender/blenkernel/intern/object_update.c (+6, -4) (Diff)
/source/blender/blenlib/BLI_math_base.h (+3, -0) (Diff)
/source/blender/blenlib/intern/math_base_inline.c (+12, -0) (Diff)
/source/blender/CMakeLists.txt (+1, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+1, -1) (Diff)
/source/blender/editors/gpencil/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/include/ED_gpencil.h (+1, -0) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+1, -1) (Diff)
/source/blender/editors/mesh/mesh_intern.h (+1, -1) (Diff)
/source/blender/editors/mesh/mesh_ops.c (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+84, -1) (Diff)
/source/blender/editors/object/object_ops.c (+5, -0) (Diff)
/source/blender/editors/space_buttons/buttons_context.c (+31, -0) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+10, -0) (Diff)
/source/blender/gpencil_modifiers/CMakeLists.txt (+12, -0) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilarmature.c (+3, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilarray.c (+3, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilhook.c (+3, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencillattice.c (+3, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencilmirror.c (+3, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpenciltint.c (+3, -1) (Diff)
/source/blender/gpencil_modifiers/intern/MOD_gpencil_util.c (+1, -0) (Diff)
/source/blender/gpencil_modifiers/MOD_gpencil_modifiertypes.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_collection_types.h (+15, -1) (Diff)
/source/blender/makesdna/DNA_gpencil_modifier_defaults.h (+13, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_modifier_types.h (+73, -0) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+3, -0) (Diff)
/source/blender/makesdna/DNA_material_types.h (+11, -0) (Diff)
/source/blender/makesdna/DNA_object_defaults.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+31, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+1, -0) (Diff)
/source/blender/makesdna/intern/dna_defaults.c (+2, -0) (Diff)
/source/blender/makesdna/intern/makesdna.c (+2, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_collection.c (+27, -0) (Diff)
/source/blender/makesrna/intern/rna_gpencil_modifier.c (+284, -0) (Diff)
/source/blender/makesrna/intern/rna_material.c (+78, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+81, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+1, -0) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021