bkh hat geschrieben:Herbert123 hat geschrieben:I am revisiting an old request of mine: smooth strokes. Currently, drawing with a tablet in Photoline is not an option, because the strokes look very jagged and wobbly. Even when I set my wacom mapped to one 2560x1440px screen only, and zoom in to 100%, the strokes still look quite bad. And it does not matter whether I draw with the mouse or tablet. The lines are unusable.
I can sort of reproduce the problem when drawing very slowly in PL (lines do not look that bad here, but I think we already figured that OS X has higher resolution mouse coordinates). Quick movements don't produce the effect here. If one tries the same using Vector Drawing with no optimisation, then one can easily see that the curve which has been drawn slowly has just too many control points – and thus shows wiggles.
Herbert123 hat geschrieben:
After testing many other applications with drawing capabilities, I have come to the conclusion that. except for Paint on Windows (and Photoline), other drawing code implements some kind of stroke interpolation to prevent these jaggies and wobbles.
Very likely. Have you tried the freehand vector drawing tool for comparison? For that tool, you can set line smoothing in the preferences (under Working -> Vector) – setting both values to 1 results in smooth (vector) curves here. Maybe the same (or similar) optimisation settings could be used for brushes as well …
Cheers
Burkhard.
Thanks Burkhard - yes, drawing with the vector tools with a curve optimization of 1 works quite well, but even then, when I draw at a zoom level of 30% or less the wobbles appear. WIth a setting of 2 or more the line starts changing when I draw tight corners - which does not work either. Besides, Photoline does not offer a brush system for vectors, so it is not really a solution, unfortunately.
I believe this to be quite a complex topic. Merely implementing a direct mouse to canvas drawing method does not suffice for a drawing tool anymore, with resolutions sky-rocketing these last past few years. That is why even open source software like Gimp and Krita have added BOTH interpolation methods and smooth stroke options.
Thus there are two sides to this coin:
1) a general interpolation method during drawing to remove the wobblies and jaggies
2) an additional smooth stroke option to help artists with more stable and smooth looking lines. "Camera shake reduction"
The Gimp code for the second thing (smooth stroke) can be found here:
http://translate.google.com/translate?s ... ml&act=url