It is currently Fri Jun 23, 2017 5:27 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 56 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Mapfold effect scheme script.
PostPosted: Fri Apr 15, 2016 4:15 pm  (#1) 
Online
Script Coder
User avatar

Joined: May 07, 2014
Posts: 2700
Location: Tin from Victoria BC Canada
This is to create a similar effect like shown here: http://gimpchat.com/viewtopic.php?f=23&t=4439
I thought it would be fun to that effect into a script. So here it is.

before image:
Image

after applying effect:
Image

options for this plug-in:
Image

script file:
Attachment:
MapFold.scm [4.15 KiB]
Downloaded 229 times


it'll be available under Script-Fu/Create New/Map Fold effect...

PS: script-fu experts... is there a way i can default the Shear Magnitude Y (the only adjustment i have right now) to a percentage of image height? if you know please show me how..right now i just have it default to 150..I think it would be friendlier if it starts off defaulting to a percentage of image height.

_________________
T.
Image


Last edited by trandoductin on Sat Apr 16, 2016 10:34 am, edited 2 times 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: Mapfold effect scheme script.
PostPosted: Fri Apr 15, 2016 4:17 pm  (#2) 
Online
Script Coder
User avatar

Joined: May 07, 2014
Posts: 2700
Location: Tin from Victoria BC Canada
Now that it's a script .. i kind'a hope to see Map Fold galore coming in :hehe

_________________
T.
Image


Top
 Post subject: Re: Mapfold effect scheme script.
PostPosted: Fri Apr 15, 2016 5:02 pm  (#3) 
Online
Script Coder
User avatar

Joined: May 07, 2014
Posts: 2700
Location: Tin from Victoria BC Canada
because of fractional math, this script was creating 1 pixel artifacts on some different widths.. i just updated the script to get select whole pixels so that this artifact would not occur.

_________________
T.
Image


Top
 Post subject: Re: Mapfold effect scheme script.
PostPosted: Fri Apr 15, 2016 5:18 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5130
Location: Metro Vancouver, BC
Nice one Tin
Image

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


Top
 Post subject: Re: Mapfold effect scheme script.
PostPosted: Fri Apr 15, 2016 5:22 pm  (#5) 
Online
Script Coder
User avatar

Joined: May 07, 2014
Posts: 2700
Location: Tin from Victoria BC Canada
glad you like it.

_________________
T.
Image


Top
 Post subject: Re: Mapfold effect scheme script.
PostPosted: Fri Apr 15, 2016 5:26 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Oct 02, 2014
Posts: 1910
Location: Sydney Australia
Trandoductin - thank you very much for this; now all we we have to do is consider how to get auto 'pop outs' in the script :hehe

_________________
Image

All life is reflected in glass but encased in wire


Top
 Post subject: Re: Mapfold effect scheme script.
PostPosted: Fri Apr 15, 2016 5:30 pm  (#7) 
Online
Script Coder
User avatar

Joined: May 07, 2014
Posts: 2700
Location: Tin from Victoria BC Canada
pop outs are probably too advanced since you probably have to do manual selection and stuff. i don't think i can automate that

_________________
T.
Image


Top
 Post subject: Re: Mapfold effect scheme script.
PostPosted: Fri Apr 15, 2016 5:34 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Oct 02, 2014
Posts: 1910
Location: Sydney Australia
Tin - I was just joking but I will have a play now I have downloaded your script. Again thanks.

_________________
Image

All life is reflected in glass but encased in wire


Top
 Post subject: Re: Mapfold effect scheme script.
PostPosted: Fri Apr 15, 2016 5:40 pm  (#9) 
Online
Script Coder
User avatar

Joined: May 07, 2014
Posts: 2700
Location: Tin from Victoria BC Canada
just for fun... i cut out the word Victoria before using the effect and then used a colorful image as background.
Image

_________________
T.
Image


Top
 Post subject: Re: Mapfold effect scheme script.
PostPosted: Fri Apr 15, 2016 6:52 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2015
Posts: 239
Heck of lot easier than doing it by hand. Great script!!!


Attachments:
mapscripttest_1.png
mapscripttest_1.png [ 1.63 MiB | Viewed 1258 times ]

_________________
"I learned courage from Buddha, Jesus, Lincoln, Einstein, and Mr. Cary Grant."

Peggy Lee
Top
Post new topic Reply to topic  [ 56 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Guides to Path (scheme script, now python script more advanced).

28

No new posts Attachment(s) Words To Circles (scheme script)

46

No new posts Attachment(s) Words To Houses (scheme script).

7

No new posts Question: Scheme Script Fu default values refresh.

3

No new posts Attachment(s) Python or Scheme script request (selection from guides)

27



* Login  



Powered by phpBB3 © phpBB Group