It is currently Fri Apr 19, 2024 10:40 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Chisel or Carve V1.3 (Bevel)
PostPosted: Fri Jul 12, 2013 1:53 pm  (#1) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Hi all-

I made a few changes to my chisel script cause I found a few quirks. The big issue was that the script only approximated rounds and fillets by applying a curve function after filling the grey. This led to icky stair-casing because of rounding errors and lack of precision, as well as not being able to get a true rounded edge (quarter circle) look.

I've attached the updated script here for a trial before I update the registry version (you guys are great testers!).

Other changes are:
- Added new slider "Roundness" -1 is a quarter-circle fillet, +1 is a quarter-round, 0 is flat
- Old "Bevel Curve" is now "Bevel Power" and is a power function applied on top of roundness to emphasize the curve more
- hard light layer set to 80% on creation
- Post Effect Blur is only masked off outside for an inner carve/chisel, and inside for an outer carve/chisel.

Download From GIMP Scripts

-Rob A>


Attachments:
chis13.jpg
chis13.jpg [ 14.54 KiB | Viewed 7407 times ]

_________________
Image
Fantasy Cartography and Mapping by RobA


Last edited by RobA on Sun Jul 14, 2013 12:15 pm, edited 1 time in total.
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: Update to my Chisel Script
PostPosted: Fri Jul 12, 2013 2:26 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
thank you RobA

EDIT:

i get this error when pressing okay:

Image

also the register says <Image>/Filters/Decor/_Chisel or Carve

but in my Gimp its under Script Fu -> Effects Selection


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Fri Jul 12, 2013 3:00 pm  (#3) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I didn't receive any error messages. It all worked very well. The only problem I had were the two outside ones set to hard light and they didn't show until I set the mode to normal on both of them.

Nicely done, RobA!

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Fri Jul 12, 2013 3:17 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Thanks for the update Rob. :)

_________________
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: Update to my Chisel Script
PostPosted: Fri Jul 12, 2013 4:10 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
One of my favorite Script-fus; thanks for the update. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Fri Jul 12, 2013 5:18 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Esper wrote:
thank you RobA

EDIT:

i get this error when pressing okay:

[ Image ]

also the register says <Image>/Filters/Decor/_Chisel or Carve

but in my Gimp its under Script Fu -> Effects Selection


Something to do with the cond statement perhaps? I have the same error.
   (plug-in-bump-map RUN-NONINTERACTIVE img varBevelLayer varBumpmapLayer inAizmuth inElevation inDepth 0 0 0 0
                     TRUE (cond ((= inMode 0) FALSE) ((= inMode 1) TRUE)) LINEAR)

_________________
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: Update to my Chisel Script
PostPosted: Fri Jul 12, 2013 5:49 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Feb 14, 2012
Posts: 426
I'll try that. Looks pretty neat.

pegster


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Fri Jul 12, 2013 6:00 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
PegLeg44 can you test the script and see if you get the same error as myself and Esper?
Thanks.

_________________
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: Update to my Chisel Script
PostPosted: Fri Jul 12, 2013 8:31 pm  (#9) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Thanks RobA!
Image

Rod, So far no errors for me Gimp 2.8.6. I tried all the variations.

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


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Fri Jul 12, 2013 8:33 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Odinbc wrote:
Thanks RobA!
[ Image ]

Rod, No errors for me Gimp 2.8.6.

Odin are you installing the new one or the old one from the registry?


Yep confirmed i have it working fine in Gimp-2.8.5
I guess it just doesn't work in Gimp-2.8.4. :)

_________________
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: Update to my Chisel Script
PostPosted: Fri Jul 12, 2013 11:08 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Feb 14, 2012
Posts: 426
Rod wrote:
PegLeg44 can you test the script and see if you get the same error as myself and Esper?
Thanks.

I've used it on my win vista 32 using gimp 2.8.0 and it works fine. No problems at all.

pegsy


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Fri Jul 12, 2013 11:23 pm  (#12) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Rod wrote:
Yep confirmed i have it working fine in Gimp-2.8.5
I guess it just doesn't work in Gimp-2.8.4. :)
It's the new version of chisel.

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


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Sat Jul 13, 2013 7:36 am  (#13) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Thanks for the update, RobA!

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Sat Jul 13, 2013 10:18 am  (#14) 
Offline
GimpChat Member

Joined: Aug 27, 2010
Posts: 491
Seems to work well.

Image


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Sat Jul 13, 2013 10:24 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I installed gimp-2.8.6 and everything is working fine. :)

Thanks Rob.
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: Update to my Chisel Script
PostPosted: Sat Jul 13, 2013 11:41 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Jun 02, 2013
Posts: 2075
Nice, love it. Used this script, and others, obviously:

Image

_________________
Image


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Sun Jul 14, 2013 12:19 pm  (#17) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
I just tried it on 2.8.4 (windows 7) and it works fine.

@Esper - if there is a chisel located at Script Fu -> Effects Selection it is not this script and you may have a conflicting script with the same name installed.

I have uploaded a new version in the first post that fixes a small bug that occurred if the script was called on a layer without an alpha channel. It didn't cause an error, just not the expected results...

-Rob A

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Sun Jul 14, 2013 12:24 pm  (#18) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
nice results guys. THANKS for the upgrade RobA

_________________
Image


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Sun Jul 14, 2013 12:41 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
RobA wrote:
@Esper - if there is a chisel located at Script Fu -> Effects Selection it is not this script and you may have a conflicting script with the same name installed.
you are right, the script i was talking about and that gave me the error is 'FU_effects-selection_chisel' (which was written by you, btw)

i have downloaded your latest chisel script and now it appears under Filters -> Decor

thank you !


Top
 Post subject: Re: Update to my Chisel Script
PostPosted: Sun Jul 14, 2013 1:32 pm  (#20) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Esper wrote:
the script i was talking about and that gave me the error is 'FU_effects-selection_chisel' (which was written by you, btw)


The "beauty" of open source. It was based on my script, but modified and redistributed.

Quote:
; FU_effects-selection_chisel.scm
; version 1.2a [gimphelp.org]
; last modified/tested by Paul Sherman
; 05/05/2012 on GIMP-2.8


-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


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

All times are UTC - 5 hours [ DST ]


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

7

No new posts Attachment(s) Carve.. filter

3

No new posts Attachment(s) Stepped Chisel

6

No new posts Attachment(s) [ solved] Stepped chisel

18

No new posts Distort and RobA's Chisel script

2



* Login  



Powered by phpBB3 © phpBB Group