Blender Git Commit Log

Git Commits -> Revision bc7a4b1

Revision bc7a4b1 by Antonio Vazquez (master)
June 16, 2020, 13:28 (GMT)
GPencil: Convert and Bake mesh animation to grease pencil strokes

This patch adds two options:

- Convert a mesh to grease pencil strokes.
- Bake the mesh animation into grease pencil strokes.

Both are related and must be included in the same patch.

Related to tasks: T77629 and T77630

Notice: The conversion is done for mesh edges and it's not considering any visibility clipping. All edges are exported, no matters if it's visible or not.

Example of Convert a Mesh to Grease Pencil strokes:

{F8606028}

This conversion was inspired by the technique used by @luamono in this tweet: https://twitter.com/luamono/status/1239983662176841730

Example of Bake Animation (the video is a little outdate, but the basic functionality is the same, only small changes in UI):

{F8606032}

Reviewed By: mendio, pepeland

Maniphest Tasks: T77629, T77630

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

Commit Details:

Full Hash: bc7a4b126afb6789e301c148d8f07e38365c1545
Parent Commit: e54058b
Lines Changed: +1089, -12

2 Added Paths:

/release/scripts/startup/bl_operators/gpencil_mesh_bake.py (+162, -0) (View)
/source/blender/editors/gpencil/gpencil_mesh.c (+404, -0) (View)

9 Modified Paths:

/release/scripts/startup/bl_operators/__init__.py (+1, -0) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_gpencil_geom.h (+13, -0) (Diff)
/source/blender/blenkernel/intern/gpencil_geom.c (+387, -1) (Diff)
/source/blender/editors/gpencil/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/gpencil/gpencil_convert.c (+2, -0) (Diff)
/source/blender/editors/gpencil/gpencil_intern.h (+2, -0) (Diff)
/source/blender/editors/gpencil/gpencil_ops.c (+1, -0) (Diff)
/source/blender/editors/object/object_add.c (+115, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021