It is currently 20 Feb 2018, 11:30

GIMP Python Fu ScriptsRender Map Script for GIMP (Showcase | Slideshow)

Share your Python Fu scripts for GIMP here
User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 5/14
Posts: 2162
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,946.37 GLP
Bank: 51,356.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1207
x 256
Contact:
Canada

Render Map Script for GIMP

Post#1 by tim » 15 Jul 2017, 22:01


This script follows steps described in this tutorial: https://www.cartographersguild.com/show ... php?t=1142
Minus the forest part (I'll try to script that as a separate script).
This script will do the ocean, grassland, dirt, and mountains.
This script would be great for creating maps for RPG(Role Playing Games).

:download:
render_map.zip #
zipped .py file (unzip, put in your GIMP's /plug-ins/ folder)
(3.24 KiB) Downloaded 37 times
:download:
render_map (2).zip #
version 2. Added some scripted steps to improve ocean features
(3.46 KiB) Downloaded 18 times
:download:
render_map (3).zip #
version 3. Render snow on mountain tops.
(3.65 KiB) Downloaded 16 times
:download:
render_map (4).zip #
version 4. Allow mountain(s) in middle of ocean HACK.
(3.87 KiB) Downloaded 16 times
:download:
render_map (5).zip #
version 5. Hack to have mountain(s) in middle ocean to have same coastlines as land.
(3.93 KiB) Downloaded 38 times
Script Menu Location: Python-Fu/Render Map
Instructions:
1. Have an image opened.
2. Create a Black layer with White landmass(es). Name this layer "Land Start".
3. Create a Black layer with White mountain(s) ranges. Name this layer "Mountains Start".
4. You can adjust these layers opacity so that you can see them easier when working with them (The script will turn them both into 100 opacity before working with them).
5. Run Script from Menu location (Python-Fu/Render Map).
6. Let the magic happen.

Sample inputs and result.
"Land Start" Layer.
land_layer.png
land_layer.png # (7.9 KiB) Viewed 749 times (Watermarked | Thumbnail)
"Mountains Start" Layer.
moutain_layer.png
moutain_layer.png # (14.74 KiB) Viewed 749 times (Watermarked | Thumbnail)
2 layers viewed together with opacity changed to reveal both layers.
transparent_layers.png
transparent_layers.png # (19.84 KiB) Viewed 749 times (Watermarked | Thumbnail)
Output result.
script_rendered.png
script_rendered.png # (357.53 KiB) Viewed 749 times (Watermarked | Thumbnail)
Some additional steps to improve map
2 x



aka Tin
Image gimplearn.net                                              

Registered members enjoy ads-free content
User avatar
Issabella
Script Tester
View: Showcase | Slideshow
Topic Posts: 1/14
Posts: 1962
Joined: 19 Jan 2017, 11:42
Cash on hand: 17,162.78 GLP
Gender: Gal
Operating System: Windows
x 231
x 505
Spain

Post#2 by Issabella » 16 Jul 2017, 08:10


Thank you so much Tin, :happy_purple:
0 x



Issabella

User avatar
RJKD
Tutorial Creator
View: Showcase | Slideshow
Topic Posts: 1/14
Posts: 1351
Joined: 03 Oct 2016, 13:01
Cash on hand: 10,313.98 GLP
Bank: 0.00 GLP
Gender: Guy
Location: Sheffield UK
Operating System: Windows
GIMP Version: 2.8.20
x 1488
x 210
Contact:
Great Britain

Post#3 by RJKD » 16 Jul 2017, 08:42


Thankyou T, much appreciated, I've tried that tutorial a few times - never been satisfied with my results.
0 x




User avatar
Steve Reid
Script Coder
View: Showcase | Slideshow
Topic Posts: 2/14
Posts: 74
Joined: 20 Jul 2017, 10:55
Cash on hand: 872.36 GLP
Gender: Guy
Location: Barrow in Furness
Operating System: Windows
GIMP Version: 2.9.5
x 37
x 13
Gimp Nation

Post#4 by Steve Reid » 20 Jul 2017, 19:30


Just wanted to say thanks for these scripts (your bringing out versions faster than I can keep pace with :lol: ), been playing with these scripts trying to design my perfect island getaway. These two started out as Crater Lake lookalikes and morphed into Atolls

Image
Image

steve
2 x




User avatar
Steve Reid
Script Coder
View: Showcase | Slideshow
Topic Posts: 2/14
Posts: 74
Joined: 20 Jul 2017, 10:55
Cash on hand: 872.36 GLP
Gender: Guy
Location: Barrow in Furness
Operating System: Windows
GIMP Version: 2.9.5
x 37
x 13
Gimp Nation

Post#5 by Steve Reid » 28 Jul 2017, 09:12


Been dreaming some more of my island hide away
mk08.png
mk08.png # (762.81 KiB) Viewed 581 times (Watermarked | Thumbnail)
1 x




User avatar
tim

Administrator
View: Showcase | Slideshow
Topic Posts: 5/14
Posts: 2162
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,946.37 GLP
Bank: 51,356.25 GLP
Gender: Guy
Location: Victoria, BC
Website: https://gimplearn.net
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1207
x 256
Contact:
Canada

Post#6 by tim » 30 Jul 2017, 20:42


I see you added your own sandy beaches. :D
0 x



aka Tin
Image gimplearn.net                                              

No avatar
Farmer
Forum Member
View: Showcase | Slideshow
Topic Posts: 5/14
Posts: 5
Joined: 13 Jan 2018, 22:05
Cash on hand: 104.93 GLP
United States of America

Post#7 by Farmer » 13 Jan 2018, 22:10


Hello all,

So I'm having an issue that maybe someone here can help me clear up. I've been using a rollback version of Gimp to use the tutorial linked here and I recently came across your post saying you had created an script to auto generate the same results (Which is excellent btw.). However, I am unable to activate the script in my version of Gimp. So my question is what version of Gimp should the above scripts run correctly in? I am currently using 2.6 and don't seem to be able to activate the script. I then tried the latest version of Gimp thinking it would help and the script runs perfectly, it just unfortunately doesn't create maps like the ones I'm seeing posted here. Thanks in advance for both compiling the original scripts and any help you can give me along the way.
0 x




Post Reply

Last 20 Members Who Visited This Topic

Farmer (24), User avatar leopardo-40 (4), User avatar RJKD (7), User avatar Pat625 (5), User avatar oldmangrumpy (1), User avatar tim (82), User avatar animicule (2), User avatar gnerd (7), themantheycallcris (2), Gioanvm (1), User avatar Conbagui (2), User avatar Steve Reid (13), User avatar Issabella (3)

  • Similar Topics
    Replies
    Views
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: RJKD
2: tim
3: RJKD
4: tim
5: Pat625
6: Issabella
7: Issabella

Who is online

Users browsing this forum: No registered users and 1 guest