Blender Git Commit Log

Git Commits -> Revision 70ce017

Revision 70ce017 by Joshua Leung (master)
July 26, 2008, 12:54 (GMT)
== Grease Pencil - Drawing (User Action not Display) Accuracy ==

This commit attempts to fix some of the problems with the accuracy of strokes recorded.

I've disabled the post-draw smoothing of strokes as it deviated from the source stroke too much. This was introduced to try to eliminate the effects of fine 'jitter' (which is especially noticable when using optical mice + fast computer).

Now, I've introduced two thresholds which determine the 'minimum' distances that the mouse needs to have moved from the previous mouse-coordinates recorded, to be recorded. These are currently hardcoded, but may be exposed in the UI if there is significant need to do so.
- The first is for the distance that the mouse must have moved on both axes to be considered.
- The second is for the 'pythagorean' distance that needs to have been travelled by the mouse.

Commit Details:

Full Hash: 70ce017777dcaf0ddd68b9533eba8a926aceff1e
SVN Revision: 15779
Parent Commit: c4116a7
Lines Changed: +46, -34

2 Modified Paths:

/source/blender/src/drawgpencil.c (+6, -28) (Diff)
/source/blender/src/gpencil.c (+40, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021