It is currently Sat Apr 20, 2024 9:02 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Wed Jul 01, 2015 3:15 pm  (#1) 
Offline
GimpChat Member

Joined: Dec 10, 2012
Posts: 25
I like the angular blend option alot to make heightmaps from 2d pics, except that it isn't very performant, it takes a long time to process and it returns weird blend lines that are at only at 45degrees.

Are there some better versions than the default angular blend parameter?

For example, if i knew how to i would write a blend version that searches in a raycast or in a radius around every pixel to see where the border is, and shades the pixel by the distance from the nearest border, it would make very round and pretty heightmaps that actually reflect the borders.

:hi5


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: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Wed Jul 01, 2015 4:13 pm  (#2) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
do you mean something like this?
Image
I just selected a shape and manually shrink by 1 pixel then fill with a greyscale that is 5 values lower and repeat didn't quite get to black but the idea is the same i think.

If this is what you want, it can be scripted (or maybe it already has been scripted I just don't know what it's called if it exists).

_________________
TinT


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Wed Jul 01, 2015 5:24 pm  (#3) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
I am sure a script already exists for this... i vaguely remember coming across it.
But just in case it doesn't exists, I created one (I was bored too and this one is easy so).
Image
you can change default white transitional to black to any starting/ending colors so you can get something like this
Image

Here's the script.
Attachment:
BlendSelection.scm [2.19 KiB]
Downloaded 210 times

It'll be available under Script-Fu/Blend Selection...
Here's a preview of what options/settings you can change.
Image
Before running the script, you must have an active selection.

Also if you create some cool 3D looking thing please share... I vaguely remember these height maps are used for bump mapping or something like that but i forgot its actual use, would love to see more of that.

_________________
TinT


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Wed Jul 01, 2015 5:35 pm  (#4) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
@Tin:
Is this the one you were thinking of ?
viewtopic.php?f=9&t=8030&start=10#p104222


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Wed Jul 01, 2015 5:58 pm  (#5) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
jontait2 wrote:
@Tin:
Is this the one you were thinking of ?
viewtopic.php?f=9&t=8030&start=10#p104222

I just tried that script it seems to create darken layers progressively rather than shrinking selection at each step and create blending effect. I must be thinking of some other script (maybe written by Greachan).

_________________
TinT


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Wed Jul 01, 2015 6:15 pm  (#6) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
Rob-A to the rescue again:
http://registry.gimp.org/node/26195
viewtopic.php?f=9&t=4066


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Wed Jul 01, 2015 6:51 pm  (#7) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
jontait2 wrote:

getting warmer but i don't think that's the one i am thinking of either :D

_________________
TinT


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Wed Jul 01, 2015 8:08 pm  (#8) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
RobA with his Chisel/Carve is the only script that gets close

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Wed Jul 01, 2015 8:53 pm  (#9) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
Graechan wrote:
RobA with his Chisel/Carve is the only script that gets close

Maybe that's the one i was thinking of.
As I was so sure there's a script that does selection shrinking in steps by now.

_________________
TinT


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Wed Jul 01, 2015 10:40 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Feb 14, 2012
Posts: 426
Angular blend lines at 45 degrees means that when viewed as a 3D image it looks just like straight tapered angles. What the guy wants to do is have rounded or peaked angles (I think). This can be achieved either by creating custom gradients or by using the curves dialog on the blends after creating them.

Here's some of the stuff I created using gimp and a little Illustrator:
www.youtube.com Video from : www.youtube.com


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Wed Jul 01, 2015 11:39 pm  (#11) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
PegLeg44 wrote:
Angular blend lines at 45 degrees means that when viewed as a 3D image it looks just like straight tapered angles. What the guy wants to do is have rounded or peaked angles (I think). This can be achieved either by creating custom gradients or by using the curves dialog on the blends after creating them.

Here's some of the stuff I created using gimp and a little Illustrator:
www.youtube.com Video from : www.youtube.com

Wow, that's amazing? in gimp? I don't even have a clue as how you even got to the finished product...Just wow. No 3D programs at all?
I'd be happy if I could make a cross looked that good.

_________________
TinT


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Thu Jul 02, 2015 5:36 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Couldn't something like this be accomplished with the light to height plug-in?
http://www.gimpchat.com/viewtopic.php?f=9&t=4725

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Thu Jul 02, 2015 5:51 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
With a select radial gradient.
Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Thu Jul 02, 2015 7:32 am  (#14) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
When the l2h was released I wrote a script that used it called Blue Ice
Image

Available here at GimpScripts

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Thu Jul 02, 2015 4:32 pm  (#15) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
Rod wrote:
With a select radial gradient.
[ Image ]

Cool script :yes

used script then used bump map.
Image

_________________
TinT


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Thu Jul 02, 2015 5:08 pm  (#16) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13011
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Is there a 64bit version of l2h?
I get this error when I run the Blue Ice script.
Image

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


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Thu Jul 02, 2015 5:22 pm  (#17) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Wallace here is Samj's compile :bigthup

Attachment:
l2height-0.7-32bits-64bits.zip [42.59 KiB]
Downloaded 444 times

Attachment:
l2height-0.7-source.zip [8.5 KiB]
Downloaded 282 times

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Last edited by Graechan on Thu Jul 02, 2015 7:17 pm, edited 1 time in total.

Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Thu Jul 02, 2015 5:28 pm  (#18) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13011
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Graechan wrote:
Wallace here is Samj's compile :bigthup

Attachment:
l2height-0.7-32bits-64bits.zip

I installed the l2height-0.7 plugin that was in the folder named l2height-0.7-win32 and it worked.
Image

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


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Thu Jul 02, 2015 5:56 pm  (#19) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Wallace I thought you were after the 64bit version

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Some better kind of Blend tools (i.e. angular blend?)
PostPosted: Thu Jul 02, 2015 5:59 pm  (#20) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13011
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Graechan wrote:
Wallace I thought you were after the 64bit version

Yes thank you, I replaced it with the 64bit version you posted.

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


Top
Post new topic Reply to topic  [ 32 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) BLEND - GRADIENT TOOL

17

No new posts Attachment(s) New GEGL Extrusion filter - USE THE BEHIND BLEND MODE!

18

No new posts Attachment(s) Is there anyway to add blend modes inbetween operations in Bimp?

2

No new posts Attachment(s) How to reproduce Gimp's levels using blend modes of color fills

0

No new posts Attachment(s) GEGL Extrusion 2 (Fork of Long Shadow) USE BEHIND BLEND MODE!

7



* Login  



Powered by phpBB3 © phpBB Group