It is currently Wed Jul 24, 2024 6:29 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Update of selection bevel
PostPosted: Wed Dec 25, 2013 7:59 pm  (#21) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
i dont know if this is of any interest to you, dd

i played a bit with your new version of the plug-in

one thing that does not work very well from my experience is using preset curves
you can always get much better results for shaped bevels or chrome effects when you custom tweak the curve by hand
there are so many factors, like used colour, font or bevelsize/depth that influence the outcome

the same thing for your special bevel for smaller sizes idea
i think you can get a good looking bevel on a small image, when you tweak the highlight/shadow by hand
there is always this sweet spot between to blurry and jagged, that is different with each case
this is really one of these things were human intution is still superior to automatition


Top
 Post subject: Re: Update of selection bevel
PostPosted: Wed Dec 25, 2013 8:46 pm  (#22) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Oh for sure - sometimes, things are best done by hand. In fact I've been doing most bevels these days by simply drawing with an airbrush, using pressure sensitivity and the selection as a stencil...

However, automation has its place. Particularly, when you want easily repeatable results. Plugins are just tools, and you can use them to automate steps which would be tedious to do by hand over and over. That's why my approach to writing plugins is to give the user as many variables and adjustments as possible, make every step as adjustable as possible... even if this makes the plugin a bit more complex and "scary" to new users, it ends up being much more useful in the long run.

I've spent some time tweaking the algorithms for the gloss (chrome) and shape curves, and I think they work much better now - but I haven't published this version yet, so you're going to have to wait for a bit to see how well it measures up ;)


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 6:35 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 591
Molly, the font is New Yorker.

_________________
Image


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 6:42 am  (#24) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Thank you Carlos. I did find one but it isn't the same as yours.

_________________
Image


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 7:17 am  (#25) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 591
The font is free.

_________________
Image


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 7:20 am  (#26) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 591
New Yorker Font

_________________
Image


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 7:44 am  (#27) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Image

_________________
Image


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 10:16 am  (#28) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 591
Welcome, Molly. You work very fast.

_________________
Image


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 10:32 am  (#29) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
lol, just on things I like, not so fast when it comes to dusting and vacuuming.

_________________
Image


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 11:10 am  (#30) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 591
The things I dislike, I do quickly to get rid of them asap.

_________________
Image


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 2:00 pm  (#31) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
All right, I think I've nailed the algorithms now. I think they're the best they can be for now, short of actually writing a "real" bevel plugin with a "real" programming language... that's still a goal that I'll look into some day, but for now, my knowledge of C is not quite enough to tackle that goal.

Anyway, the updated version is available at the registry, I don't have an account on GIMP scripts so I probably can't update it there... maybe someone will do it for me again ;)

http://registry.gimp.org/node/25199

The main improvements are the shape curves and gloss. They're totally rewritten, now the shape curves should produce more natural and better results. A thing to note - the shape curve adjustment is now on a smaller scale, from -64 to 64 (used to be -128 to 128), so take that in account if you have some standard values you've memorized and use.

Gloss no longer darkens the "non-beveled" parts of the bevel, it's tweaked so that it should keep areas that are #808080 at #808080. It should also provide somewhat nicer looking results.

Finally, the default values are slightly changed - the default depth is now at 10, instead of 20 - I figured a lower setting helps with making the shape contours more as they should be. It's still adjustable of course. Also default post-blur is now at 1.0 instead of 3.0. This produces sharper results - since the other parts of the algorithm are improved, there's no longer need to cover up errors/artifacts with blurs ;)

Anyway, enjoy :)

Attachment:
bev23c.png
bev23c.png [ 553.67 KiB | Viewed 1406 times ]


Again all feedback is welcome, if you find out any corner cases or bugs where things don't work, don't hesitate to let me know!


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 2:21 pm  (#32) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Image

_________________
Image


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 2:36 pm  (#33) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
I would really like this script, but I can't download it from the gimp registry.


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 2:41 pm  (#34) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
mackenzieh wrote:
I would really like this script, but I can't download it from the gimp registry.


I don't know what exactly is the problem - it should be downloadable through this link:

http://registry.gimp.org/files/bevel2_3.py

But if that for some reason doesn't work for you, try this:

Attachment:
bevel2_3.py.zip [5.73 KiB]
Downloaded 105 times


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 2:47 pm  (#35) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
1.53 doesn't show up in Gimp 2.6


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 2:53 pm  (#36) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
dd wrote:
mackenzieh wrote:
I would really like this script, but I can't download it from the gimp registry.


I don't know what exactly is the problem - it should be downloadable through this link:

http://registry.gimp.org/files/bevel2_3.py

But if that for some reason doesn't work for you, try this:

Attachment:
bevel2_3.py.zip



Thanks DD. When I hoover over to the link, it doesn't give me an option to download the script. When I click on the link itself, all I get is the actual script code.


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 3:04 pm  (#37) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
which folder is the file placed in after it's downloaded.


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 3:09 pm  (#38) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
That is a plug-in so it goes in your user plug-ins folder should have a .py extension, are you using windows or Linux?

_________________
Image


Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 3:14 pm  (#39) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2607
Location: California
molly wrote:
That is a plug-in so it goes in your user plug-ins folder should have a .py extension, are you using windows or Linux?


Thanks Molly. :) I'm using Windows. Now my other question is after gimp is loaded & open, where can I locate the plugin?


Last edited by mackenzieh on Thu Dec 26, 2013 3:40 pm, edited 3 times in total.

Top
 Post subject: Re: Update of selection bevel
PostPosted: Thu Dec 26, 2013 3:19 pm  (#40) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
k, I use Linux but sometimes the windows have a file with .exe plus the py one, if so put them both in unless someone comes along and tells you something different.

_________________
Image


Top
Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Update to Custom Font Bevel Reflect Tabbed for Gimp 2.10 to V1.09

5

No new posts Attachment(s) Update to Custom Font Bevel Reflect BRL to Version 1.10 Tabbed

22

No new posts Attachment(s) Long time GEGL Graph Glitch solved. Need Help testing bevel update

2

No new posts Attachment(s) Tool Selection Disappearing Since Update to 2.10

2

No new posts Attachment(s) GEGL Edge Only Bevel (part of MISC BEVEL COLLECTION)

7



* Login  



Powered by phpBB3 © phpBB Group