Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Customized smudge tool : Smudge with painting
#1
I customized GIMP's smudge tool, to make it not only smudge existing color on the canvas, but also blend brush color on it. Because I thought this can make a different taste from "Watercolor" type smudge when drawing images.
(I mainly use GIMP for painting, so the power of a brush engine is important to me.)
I did this by modifying GIMP's core codes and building by myself.

   
I added two parameters. One is "Flow", which controls the amount of brush color. The more it is, more foreground color will be blended. Of cource it can be controlled by brush dynamics. (To simplify the work I picked a currently-unused parameter and didn't make a new one.)

The other is "No erasing effect". If enabled, if smudging will decrease alpha of some pixels, don't decrease them, thus don't erase existing pixels. This is useful to fill the gap between two color areas.

Currently I made this just for experiment and it's not very robust. If someone agrees to make this as an official feature, I may talk to GIMP developers.

--------

Here are some tests. Also compare this smudge tool and MyPaint brush(which is watercolor type smudge).

   
It's better to keep Flow under 30, or control it by dynamics. Otherwise it will be nearly the same as normal brushes.

Two artworks with similar painting method, only different tools.
by customized smudge tool
   
(Tip: smudge tool is very useful to draw hair and flames)

by MyPaint brush
   

And this shows why "No erasing effect" matters.
   
In the left image, there are transparent gaps between dark gray and red areas. Without "No erasing effect", smudging on the gap will diffuse its transparency to nearby pixels and it's difficult to remove the gap.
"No erasing effect" may be useful in watercolor type smudge too. Havn't tried yet.

(Also posted at http://www.gimpusers.com.)



Here is my inspiration:

Commonly there are 2 types of smudge tools in paint softwares.

Type 1
   
Copy an area, and paste to the next dab.
Examples: GIMP's smudge tool, "Finger" tool in many softwares.

Type 2
   
Calculate the average color in an area, and fill the next dab.

--------

If we add coloring ability to Type 2, this forms "Watercolor" tool in many softwares.
For example, this is the algorithm of MyPaint's smudge.
   
Similar examples: Watercolor in Paint Tool SAI and many Japanese softwares, Krita's color smudge brush with dull mode.

For a long time GIMP had no such tool, but newly added MyPaint brush in 2.9.4 filled this gap.

--------

But how about Type 1 with coloring ability? Few softwares have it. The only software with this tool I had ever seen is Krita (color smudge brush with smear mode).

So I modified GIMP's smudge tool, followed MyPaint's algorithm.
   

And as I drew above artwork, I found that "No erasing effect" parameter is necessary so I added it.
Reply
#2
Nice. To talk with the developers:

https://mail.gnome.org/mailman/listinfo/...loper-list

There is also an IRC channel (mostly active during the evening in Western European time): irc://irc.gimp.org/#gimp
Reply
#3
OMG I just posted my first thread asking for this.

How can I have this? Waiting for a complete GIMP Update seems very, very, very far away.
Can't wait to have this feature!
Reply
#4
(09-01-2017, 10:05 PM)JuanMena Wrote: OMG I just posted my first thread asking for this.

How can I have this? Waiting for a complete GIMP Update seems very, very, very far away.
Can't wait to have this feature!

A bit about it here: https://www.gimp-forum.net/Thread-Gimp-2...mudge-tool

You can run a Windows development version 2.9.6 in conjunction with your existing Gimp 2.8.x 

Get it from https://download.gimp.org/pub/gimp/v2.9/windows/
Reply
#5
(09-02-2017, 09:43 AM)rich2005 Wrote:
(09-01-2017, 10:05 PM)JuanMena Wrote: OMG I just posted my first thread asking for this.

How can I have this? Waiting for a complete GIMP Update seems very, very, very far away.
Can't wait to have this feature!

A bit about it here: https://www.gimp-forum.net/Thread-Gimp-2...mudge-tool

You can run a Windows development version 2.9.6 in conjunction with your existing Gimp 2.8.x 

Get it from https://download.gimp.org/pub/gimp/v2.9/windows/

Well, thank you very very much for this.
Big Grin

Hey, I have a question about this new version.
I installed it and tested it for some minutes... and I forgot that I didn't installed Gimp G'Mic in this version.
Does G'Mic is still compatible with this 2.9.6 Gimp version?
And does Gimp Paint Suit still works with this?
Reply
#6
This is a big deal IMO and users should be notified that its now possible to smudgepaint like with paints, i found this out just today, its like a new brush tool , too bad its so hidden and you have to figure this out on your own, i found it by accident when looking for smudgepaint for gimp.
I have it setup so when you press stylus harder then paint comes out, when you very gently move stylus then you smudge paint around.
Also i see that flow is separate from flow in brush matrix and when i use pressure for flow in matrix instead of smudge tiool flow setting then it doesnt paint and only smudges, so you have to set at least some amount of flow in sudge tool panel , then you can kinda use flow with pressure sensitivity from within the matrix but its still limited, would be nice if flow from matrix would be connected to smudge tool flow so when we press lighter then less paint would come out with smudge tool, at the moment its tricky to set that up.
Reply


Forum Jump: