GIMP Script: Multifill
I wrote a couple of scripts as the request of a user at the gimp plugin registry to aid him in coloring lineart.
The one script (multifill) takes every area of the specified colour and fills it with a random colour, or a colour from a selected palette.
The second script (flatten, or an option on the multifill script) causes the colour to grow out, eliminating the drawing strokes.
The idea is that it gives different colored areas that can easily be selected (using the magic wand tool) for coloring, gradients, filling, etc on a layer under the lineart.
I was paying with Ascensions city script, and realized it could be used to randomly fill roofs/buildings with colours from a palette, for example, there is a palette called "bears" in gimp that is made of mostly browns.
Here is the source image:
and after running multifill with the bears palette:
Now with a better palette, you could create nice shades of roofs/buildings....Using random colours then desaturating you would get a nice random heightfield...
(I warn you, it is slow if you have many small areas.....I think I should port it to python...)
You can download the script here:
Originally Posted by RobA
Really cool idea!
Hmmm.... I kind of the like some of the WotC grid tiles where they have a gradient (light to dark ) overlay type thing on each and every grid cell. Any chance you could do something like that? I expect it would be pretty similar in execution....
Yeah thats very good. I needed something like that the other day when I had millions of houses and had to fill them in with one of several colors as an index into which roof type. Couldn't think of an easy way to do that so had to do it manually.
If you want the gradient to be the same on each one, just draw one and tile it.
Originally Posted by jfrazierjr
If you want the gradient to be different on each one, I've just modified my script ;)
And then had to run my thatching script on this just to see the results (dialed up to 36 faces...) and using the boring "cracked mud" pattern that comes with gimp, keeping the softlight layer:
And then with a quick embossed grid in hardlight on top:
Oh yeah - attached is the modified script. It now creates a new image to work on with undo disabled. This uses much less memory, and is significantly faster if the "Hide While Processing" option is checked.
[EDIT - before I posted I realized that my comment on tiling a gradient in one direction only works for regular shapes, so I added an option for a gradient all in one direction, too]
Here is a bonus seamless tile I made with the gradient directional: