Blender Git Loki

Git Commits -> Revision b393b13

Revision b393b13 by Antonio Vazquez (master)
September 25, 2019, 14:13 (GMT)
Fix T70231: GPencil - Moving very fast tablet pen gets ugly stroke ends

When move very fast the pen using a tablet, the end of the strokes was very ugly if the sampling was enabled. The reason for that is the last point and the previous one was interpolated in distance, but not in pressure and strength.

This commit uses several processes to get better endings:

a) If the pressure at the end of the stroke is very low, this part of the stroke is removed. This is a common issue with some tablet that send events with very low pressure when the pen is raised from drawing surface.
b) The interpolated points created by sampling are interpolated in strength and pressure to get a smooth transition.
c) Active smooth also uses the strength. Before only pressure was used.

Commit Details:

Full Hash: b393b135245eada5a508828073d68e442cd631fd
Parent Commit: f8da721
Lines Changed: +77, -4

1 Modified Path:

/source/blender/editors/gpencil/gpencil_paint.c (+77, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021