Post Reply 

Filling Largish Areas With Grass

Jun 14, 2014, 14:20
Post: #1
Filling Largish Areas With Grass
I'm trying to find if there's a way I can outline a whole erratically shaped area and then replicate a sample of grass into the outlined area.
I've tried using paintbrush and taking a sample colour which is fine for small areas but if you do anything larger there's no matching of texture and it just looks false.
Also using paint brush for the edges is there a way to get it to replicate texture as well as just colour??

Any help from anyone much appreciated!
Find all posts by this user
Quote this message in a reply
Jun 14, 2014, 15:11
Post: #2
RE: Filling Largish Areas With Grass
A little background first.

You can fill a selection see http://docs.gimp.org/2.8/en/gimp-tools-selection.html
with a pattern see http://docs.gimp.org/2.8/en/gimp-pattern-dialog.html

The pattern can be a gimp .pat file or a .jpg or a .png file and whatever you use it goes in your Gimp profile folder.
For windows something like C:\Users\"yourname"\.gimp-2.8\patterns

Then there are patterns that are tiles and join together with a definite boundary and patterns which are seamless and the images join together to make one large area without joins.

Next thing to consider is scale, whatever pattern you use has to be appropriate size for the graphic you are creating.

Where to get patterns, search the internet. Try here.
http://www.texturemate.com/category/imag...ants/grass

These are large images and you probably will have to scale them down before use. Open in Gimp and Image -> scale Then export as grass-xxx.jpg or grass-yyy.png Pop those into your Gimp patterns folder.

Then it is just a matter of making a selection in Gimp and applying the pattern. Either use the bucket fill tool or a quick way is click and drag like this.

[Image: OBNRrgo.jpg]

and a couple of images to get you started, remember to unzip it.


Attached File(s)
.zip  grass.zip (Size: 157.85 KB / Downloads: 18)

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Jun 14, 2014, 15:53
Post: #3
RE: Filling Largish Areas With Grass
... and if painting grass is more your interest, plenty of grass brushes to download here.
Find all posts by this user
Quote this message in a reply
Jun 14, 2014, 22:29
Post: #4
RE: Filling Largish Areas With Grass
rich2005,
Totally my fault, should have posted more info on what I have tried (or my son that's much more computer savvy than me) have tried most of the links you've provided.
Firstly in terms of the grass I'm trying to recreate I'm doing aerial photography using a multi rotor and most of the samples available are for close up grass and I'm between 50 to 400 ft away. I've tried taking samples out of other pictures I have and dropping them into patterns but they either take a very small sample and replicate it over and over so it looks like bathroom tiles with varying shades or the other one where I copied a much larger area had a colour deviance from the bottom part to the upper part that again it just looked totally fabricated and had a line that immediately switched in terms of colour.
Is there some way I can make a pattern something that one example would cover a much bigger area rather than getting repeated multiple times so I don't get so much deviance / tiling effect??


We've created patterns
Find all posts by this user
Quote this message in a reply
Jun 14, 2014, 23:22 (This post was last modified: Jun 14, 2014 23:26 by Witterings.)
Post: #5
RE: Filling Largish Areas With Grass
Thought it might be easier if I attached some pics of what I'm trying to say, there's the original which you'll see the garden on the right is full of builders rubble, there's the very rough paste of the grass sample to cover the mess but you'll see it's "sectioned" with different shades, I've also pasted the grass sample which doesn't seem to show any real deviance in colour??


Attached File(s) Thumbnail(s)
           
Find all posts by this user
Quote this message in a reply
Jun 14, 2014, 23:53 (This post was last modified: Jun 14, 2014 23:53 by ofnuts.)
Post: #6
RE: Filling Largish Areas With Grass
For this, the best technique is the clone tool, borrowing grass from other places in the picture (so you have the same lighting on it...).

Here, I added a layer, cloned to the layer with a round soft brush (this better blends the grass in the existing bushes), not giiving too much attention to the borders (houses), then erased the surplus on the houses to reinstate sharp edges there.

[attachment=3637]

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 15, 2014, 08:32
Post: #7
RE: Filling Largish Areas With Grass
I can see the brush strokes...

@Witterings
Now that there is a image to work with, makes it easier. If you have a larger original even better. Those grass patterns were not meant for this.

[Image: l32WJ7S.jpg]

Probably more work than you would like. Since the area is a little larger than adjacent grass, I would still go for a pattern. 1. You can select a rectangle give it a little feather, copy it and it will show as a 'clipboard pattern'
2. Use that to fill a layer under the main image.
3. Use a layer mask to allow the grass layer to show. A layer mask gives you some control over 'faking-in' the boundary with buildings and vegetation.

Do not forget that there are shadows in the original, try and add these in another transparent layer with reduced opacity.

Gimp xcf too large to attach, FWIW have a jpg


Attached File(s) Thumbnail(s)
   

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Jun 15, 2014, 17:25
Post: #8
RE: Filling Largish Areas With Grass
Thanks for all the for the help / input, I'll have a look through those and see if I can work them out. It's an awful lot to take on at once and can be a bit mind blowing when you've never done it before but I'm sure in a few weeks it'll all become second nature.
Find all posts by this user
Quote this message in a reply
Jun 19, 2014, 03:36
Post: #9
RE: Filling Largish Areas With Grass
I found a way you could mimic the grass using your grass sample through resynthesizer's "heal transparency"

I rotated the sample to match the angle. Then Scale it down to blur it some.
Then use "Filters > Enhance > Heal Transparency" to make it a full square to tile seamlessly.
- This filter will appear once you have resynthesizer plugin/filters

Then I did
"Map > Make seamless..."
-Duplicated the new grass layer & put it side by side to extend the area
-Merge down just those layers
   
-Go back to your landscape area
- Do a Foregroundselect foreground select; make a loose selection, then paint the parts you want (ctrl + left click to erase out the parts higlighted that you don't want) on the ground,
   
push enter to make selection.
-click back on your duplicated/merge layer, copy & paste.

- hide or delete the old grass layer
- Merge down & use the Heal spot heal brush, or smudge tool(small brush size) to clean up the hard edges.
   
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 19, 2014, 08:42
Post: #10
RE: Filling Largish Areas With Grass
(Jun 19, 2014 03:36)iForStyle007 Wrote:  I found a way you could mimic the grass using your grass sample through resynthesizer's "heal transparency"

I rotated the sample to match the angle. Then Scale it down to blur it some.
Then use "Filters > Enhance > Heal Transparency" to make it a full square to tile seamlessly.
- This filter will appear once you have resynthesizer plugin/filters

Then I did
"Map > Make seamless..."
-Duplicated the new grass layer & put it side by side to extend the area
-Merge down just those layers

-Go back to your landscape area
- Do a Foregroundselect foreground select; make a loose selection, then paint the parts you want (ctrl + left click to erase out the parts higlighted that you don't want) on the ground,

push enter to make selection.
-click back on your duplicated/merge layer, copy & paste.

- hide or delete the old grass layer
- Merge down & use the Heal spot heal brush, or smudge tool(small brush size) to clean up the hard edges.
A bit too blurry, looks more like mold than grass Smile

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 19, 2014, 17:31
Post: #11
RE: Filling Largish Areas With Grass
(Jun 19, 2014 08:42)ofnuts Wrote:  A bit too blurry, looks more like mold than grass Smile

It has even coverage though LOL

(Jun 14, 2014 23:53)ofnuts Wrote:  ...
Here, I added a layer, cloned to the layer with a round soft brush (this better blends the grass in the existing bushes), not giiving too much attention to the borders (houses), then erased the surplus on the houses to reinstate sharp edges there.
(Jun 15, 2014 08:32)rich2005 Wrote:  I can see the brush strokes...

Anyways,
For my example method,
I couldn't decide between using the grass sample, or copying the grass from the middle or left of the picture.

@Witterings: You can probably get more accurate coverage copying a patch from the grass in the picture itself, you can use the the same method I mentioned as another option to see how it looks Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 25, 2014, 09:02
Post: #12
RE: Filling Largish Areas With Grass
I used combination of clone and patterns in the end as I had quite a few pics to do, once I'd found how to make a pattern seamless made all the difference for doing later areas and if I found you could see pattern repeats then went over some of it with clone just to break it up.
For a 1st time and learning was quite happy with the results, thanks to all for your help / input!!
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Making coloured areas transparent RhinoCan 4 376 Jun 15, 2014 03:49
Last Post: RhinoCan
  Can I make changes to black-grey-white areas only? tahi.laci 3 491 Apr 8, 2014 12:24
Last Post: ofnuts
  How do you think this person went about creating their grass? dreamofsleeping 2 475 Apr 2, 2013 18:25
Last Post: dreamofsleeping

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS