It is currently Tue Jul 23, 2024 5:28 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: One way blend of layer edge
PostPosted: Sun Feb 23, 2014 4:29 pm  (#1) 
Offline
New Member

Joined: Feb 23, 2014
Posts: 3
GIMP Version: 2.8.4
Operating System: Windows
OS Version: 7
GIMP Experience: Beginner Level



What I have is something like this:
Image

The red is the background layer and is a nice image of glowing lava.
The black is the foreground layer and is a image of a series of rocks with non-trivial borders.

What I want to do is blend the edges of the 2 layers such that it would appear that the rocks have a glowing red edge because of the light from the lava, but I don't want any of the rock pixels to blend into the lava layer.

How can I achieve this one-way blend effect?


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: One way blend of layer edge
PostPosted: Sun Feb 23, 2014 4:38 pm  (#2) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
How about making a path of the edge and stroking it with a brush?
Subject: Stroking paths with Brush Dynamics – GIMP 2.6

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: One way blend of layer edge
PostPosted: Sun Feb 23, 2014 4:43 pm  (#3) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
You could also maybe duplicate your black foreground and apply and "outer glow" to it using a lighter or darker color of the background layer. To create the glow.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: One way blend of layer edge
PostPosted: Sun Feb 23, 2014 5:11 pm  (#4) 
Offline
New Member

Joined: Feb 23, 2014
Posts: 3
Odinbc wrote:
How about making a path of the edge and stroking it with a brush?
Subject: Stroking paths with Brush Dynamics – GIMP 2.6


Looking into it, but I was hoping for a more automatic method

Wallace wrote:
You could also maybe duplicate your black foreground and apply and "outer glow" to it using a lighter or darker color of the background layer. To create the glow.


The background layer is not homogenous, it has lighter areas and darker areas; I'd like the glow to reflect that


Top
 Post subject: Re: One way blend of layer edge
PostPosted: Sun Feb 23, 2014 5:13 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
Copy some of the lava onto a new layer and do your blending there.


Top
 Post subject: Re: One way blend of layer edge
PostPosted: Sun Feb 23, 2014 6:06 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I tried duplicating the layer 3 times, then merging them down then duplicated another time and changed the top layer to multiply but I don't think it is what you are looking for.
Image

_________________
Image


Top
 Post subject: Re: One way blend of layer edge
PostPosted: Sun Feb 23, 2014 6:56 pm  (#7) 
Offline
New Member

Joined: Feb 23, 2014
Posts: 3
Erisian wrote:
Copy some of the lava onto a new layer and do your blending there.

molly wrote:
I tried duplicating the layer 3 times, then merging them down then duplicated another time and changed the top layer to multiply but I don't think it is what you are looking for.
[ Image ]

Thanks to both of you for your inputs.
I actually ended up doing a combination of what you guys said:

1. Trace the border of the foreground
2. Grow the border inward and outward to get a strip of selection
3. Use the selection to cutout a piece of the background
4. Gaussian blur the cutout
5. Trace the border of the foreground again and use it to remove areas of the cutout that go beyond the foreground boundaries
6. Choose Layer->Overlay and adjust opacity

The result looks decent enough, though it looks very similar to just blurring I'm afraid:

BEFORE
Image
AFTER
Image


Top
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) GEGL Edge Extract - Edge Neon's algorithm in transparent background

9

No new posts Attachment(s) How I sped up Chromium Edge.

5

No new posts Repeting at image edge

2

No new posts Attachment(s) BLEND - GRADIENT TOOL

17

No new posts Attachment(s) GEGL Neon Glowing Edge Detect

2



* Login  



Powered by phpBB3 © phpBB Group