I have put together a simple patch that is supposed to draw something that resembles freehand drawing. The problem is that quads are not inserted at every instance of the changes of coordinates resulting in somewhat dotted lines. The faster you draw the bigger are the gaps between the quads.
In my second patch I attempted to solve this by inserting more quads along b-spline but this method, although it filled in the gaps, made performance
too slow, only approximate and lagging behind the actual hand movements.
I am using Wacom but to make it clear I am posting the same patch only adapted for the mouse.
Does anyone have any idea how I can achieve my desired result?
I also want to mention that I do have to clear buffer of the render window as I want to use alpha in color. And I checked drawsmooth plugin but you only can draw with it for a certain number of frames, after that it is not responding and it has problems with transparency, so I would like to find an alternative.
Could someone help please?
QuadDrawingTool.zip (32.2 kB)