Blender Git Commit Log

Git Commits -> Revision 45bc21e

October 15, 2019, 10:47 (GMT)
GPencil: Redesign input samples management

Now, instead to generate fake events in a linear interpolation and try to smooth the line later, an arc is created between the points and try to reproduce the ballistic trajectory of the mouse/pen. This gets better results and especially when the mouse moves very fast getting a more organic result.

Also, the input samples maximum has been changed to 15.

Note: Still we need to test DOT materials to define if the samples are getting good result of we must make more dense the number of points for these materials.

Commit Details:

Full Hash: 45bc21e7e21d64926b2e559168e58c9ec4b3d68a
Parent Commit: a98369e
Lines Changed: +93, -227

3 Modified Paths:

/source/blender/editors/gpencil/gpencil_paint.c (+92, -219) (Diff)
/source/blender/editors/include/ED_gpencil.h (+0, -7) (Diff)
/source/blender/makesdna/DNA_gpencil_types.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021