Page 1 of 45 1234511 ... LastLast
Results 1 to 10 of 658

Thread: [Award Winner] Using GIMP to Create an Artistic Regional RPG Map

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Tutorial [Award Winner] Using GIMP to Create an Artistic Regional RPG Map

    Post 1:Introduction

    First off, let me say that it was Pyrandon’s city map tutorial that inspired me to write up this one, so I will steal his format . I have been working on a variety of techniques to make (what I consider to be) “nice looking” maps using GIMP, and felt they are polished enough now so that anyone can follow along and do the same.

    I intend to publish this tutorial serially, in the How-To forum at the Cartographer’s Guild web site, and hope to coalesce it into a single pdf for download when complete.

    Why GIMP?
    In case you are not aware, GIMP (GNU Image Manipulation Program) is a raster graphic editor. It is free software available under the GNU General Public License and can be downloaded from www.gimp.org for a number of computer systems, including Windows and Linux.

    This tutorial has been developed with GIMP version 2.4, and may refer to features not available in older versions. Additionally, the menu structures have been shuffled about as of this version. There are some super new features that make upgrading worth it (in my opinion).

    Most of these techniques will also have equivalents in Photoshop, PaintShop Pro, and other raster editors. The key features that will be used are Layers, Layer Blending Modes, Layer Masks, Blue and Noise (cloud) filters, Gradient Mapping, and Bump Mapping. Additionally, some of the more advanced techniques will involve Channels and Paths.

    How well do I have to know GIMP?
    Don’t worry, as everything will be explained fairly methodically, with a lot of screen grabs to show what is meant. Hopefully, full menu paths (like Color->Auto->Normalize) will be provided all the time, though there may be the occasional miss for the more common commands.

    What type of map?
    The result of this tutorial will produce a map similar (but not exactly the same as some techniques have changed) to this:
    Post1-1.png

    This type of map is good for representing larger overland areas where details like mountain ranges, rivers, lakes, roads and forests would be discernible. The techniques explored here will not work well for whole world maps or local maps.

    What do I need to begin?
    1) Well, GIMP (of course).
    2) Hopefully an idea for a map. Ideally this will be a rough sketch showing the general shape of the land, with locations like mountains, forests and possibly cities marked out. It is best not to be too detailed at this point, as the techniques used will auto-magically provide a lot of the details for you. If you have NO idea or concern of one, a few options for completely random map generation will also be thrown in, for good measure.
    3) A colour scheme. This is the thing that will really give the map its characteristic appearance. For this example, I will be using the same colour than Pyrandon used in his city tutorial. A GIMP palette has been put together with these colours, and will be attached for download.

  2. #2

    Default

    Post 2:Are You Sitting Comfortably?

    The following things need to done to get started, but only once…

    Download the palette and install it.
    (Located at bottom of this post in the attachment section)

    The City-Map-Colors.gpl file should go into C:\Documents and Settings\<User Name>\.gimp-<version>\palette\ and GIMP will see it the next time it is run. These are the colours available in the palette:
    Post2-1.png

    The top row shows the grass and forest colours, along with a gradient from the lightest of these to the darkest.

    The second row shows the dirt and rock colours as well as the gradient.

    The third row shows the water colours and the gradient. (The light one is used for the coastline and rivers.)

    The bottom row has colours for roads, 50% grey (used a lot when making overlay masks), a coastline stroke colour, and a label colour. All of these are available in the palette. Or use your own. Just keep roughly the same number of colours. Keeping the Colour set small makes the map look consistent, and will make all your maps look similar.

    Set up the GIMP windows.
    When you start GIMP, you will notice that unlike most Windows application, the dialogs and images all float in their own windows. This can be a pain until you get used to it. The first thing to do is make sure the dialogs you need will be available.

    If the dialogs that came up when you started GIMP did not have all these:
    Post2-2.png

    For convenience, you will want them set up this way. You can add new dialogs (called Docks) by going from the main GIMP window, File->Dialogs->Create New Dock->Layers, Channels & Paths and File->Dialogs->Create New Dock->Brushes, Patterns & Gradients.

    There are a couple more useful dialogs to have available as well.

    Select File->Dialogs->Histogram to bring up the image histogram.

    Select the Palette tab in the Brushes, Patterns and Gradients dialog and click the Edit Palette button.
    Post2-4.png

    These two new dialogs can be attached to the existing docs by dragging their titles to where you want them. I like the Palette editor to be a tab on the Brushes, Patterns & Gradients Dock, and the Histogram to be stuck below the tab group, so it is always open. This is the GIMP layout that will be used throughout the tutorial:
    Post2-5.png
    Attached Files Attached Files
    Last edited by RobA; 09-27-2009 at 09:27 PM. Reason: Fixed the path.. Thanks Jeff_Wilson63!

  3. #3
    Community Leader RPMiller's Avatar
    Join Date
    Apr 2006
    Location
    Watching you from in here
    Posts
    3,226

    Default

    As a quick aside, if you don't get buckets of rep from everyone for this, I'm going to start knocking on doors with a big piece of ceder in hand.
    Bill Stickers is innocent! It isn't Bill's fault that he was hanging out in the wrong place.

    Please make an effort to tag all threads. This will greatly enhance the usability of the forums.



  4. #4

    Default

    Post 3: Then Let's Begin (if I have an idea)

    Now that the environment is set up, it is time to begin. At this point you may have a rough sketch of a map, either drawn on paper or on the computer. Here is the rough sketch I will work with for this tutorial:
    Post3-1.jpg

    I was doodling a coast-line with a crater like shape, and decided to put places around it line the numbers of a clock. This will be my starting point for The Region of Closh

    Load this image into GIMP, and scale it to the page size you want. I’ll keep this one smaller (500x500) to make the tutorial more manageable, but it can be as large as you want. Ensure that the image is RGB, and the size you want. You may have to adjust some of the techniques (scaling, bump mapping amounts, etc) depending on the size and scale of your map.

    Now create a new transparent layer (Layer->New Layer) and name it “Land”, pick a big, solid brush in black and trace out the contours using the Pencil Tool, then fill the area you want land in black, and everything else white.
    GIMP TIP! – You can drag a colour from the palette or the color selector to an image and it will fill the current selection with that colour.
    Post3-2.png

    Now invert the layer (Color->Invert) and blur the image (Filters->Bur->Gaussian Blur) The amount of blur will determine how random the final coast will be. The larger the blur, the more random the coastline will be (in the blurry area). If you have a well defined coast already (like here) use a smaller blur (50px). If you have a poorly defined coast (as is the case when using a random coast technique) make it a large blur.
    Post3-3.png

    I went back and blurred a few areas more by hand on the main coast to get more randomness there but keeping the detail in the island ring. Note the histogram. What you want is a nice level image, with dark and light more evenly spread out, as opposed to a U shape.
    Post3-4.png

    Create new layer called “Land Noise” and fill it with clouds (Filter->Render->Clouds->Solid Noise) Set the detail to the maximum (15) and the X and Y size to the max (16.0). The larger the size, the more randomness your final coast will have. Give it a new random seed and jot down the number (I put it in the layer name afterwards as a reminder). And change the blend mode to Overlay.
    Post3-5.png

  5. #5

    Default

    Post 4: I have an idea – part 2

    Create a new layer called “Land Clip”, filled with white above that, and set its blend mode to Lighten. You will have a white image. Now, with this layer selected, Open the levels dialog (Colors->Levels) and grab the white output slider, and drag it down. As this happens, the land will be revealed. Stop at a place you like, and click OK.
    Post4-1.png

    Now using the Magic Wand Tool, (making sure Sample Merged is Checked and the Threshold is 0) click anywhere in the dark area. This will define your coast. If you want to adjust it, just undo the selection (ctrl-Z) and change the levels of the “Land Clip” layer. I wand back and tightened the coast a bit.
    Post4-2.png

    Now Invert the selection (Select->Invert), create a new black layer called “Land Mask” and fill the selection with white. Now save the selection to a Channel (Select->Save to Channel) and rename the channel to “Land Mask”. This will be used a fit bit later.
    Post4-3.png

    Now clear the selection (Select->None).

    That technique (the Three-Layer-Sandwich of noise, shape and threshold clip layer, or TLS for short ) will be a basic technique that will be used over and over again, using different blending modes between the noise layer (to give some variegation to the surface) and the shape definition layer. It will be used to define forests and mountains, even clouds in the sky.

    This is probably a good time to save. Always save your work as an .xcf file. That is the native GIMP format and will preserve all the image information, including layers, channels, etc. It is similar in that way to the Photoshop native .psd format.

  6. #6

    Default

    Post 5: Detour - Then Let’s Begin (But I have No Idea!)

    If you have no idea for a map, here are a couple of options to generate a more random map…Just use a noise layer (set to smaller size, but keep the detail) This will five a variety of island shapes. Or use a gradient fill for the original shape definition layer. Or blurry geometric shapes (circles, arcs) Each of these will give different results. Here are 4 examples (from top left, clockwise: 50%grey, linear gradient at an angle, radial gradient, arc shape, blurred) all made following the TLS technique:
    Post5-1.png

    And blended with the noise layer and a clip layer (lighten) applied:
    Post5-2.png

    The selected, solid mask:
    Post5-3.png

    And converted to an outline:
    Post5-4.png

    You may now see some similarities in this technique to the “Creating Random Coastlines in GIMP” and “Creating Not-So Random Coastlines in GIMP” tutorials I had posted a while ago.

  7. #7

    Default

    Post 6: Create the sea. (in the beginning...)

    To make the ocean/water (and the base contour for the land as well) a two layer variant of the three layer sandwich will be used.
    Copy the “Land Mask” Layer, and rename it “Sea Shape”. Apply a Gaussian Blur (Filter->Blue->Gaussian Blur) large enough to eliminate the absolute black and whites of the image. In this case, I used the same size as the image (500px).
    Post6-1.png

    Create a new layer and call it “Sea Noise” Fill this with Clouds (Filters->Render->Clouds->Solid Noise) set to a low size (3) and detail of 15, reseeding the random number. Set the layer blend mode to mode to Overlay, then merge it down with the “Sea Shape” layer by right clicking on the layer and selecting “Merge Down”.
    Post6-2.png

    Duplicate this layer and rename it “Sea”. Add a layer mask by right clicking on the “Sea” layer, and selecting “Add Layer Mask”. When the dialog opens, select “Channel” (By default it should have the “Land Mask” channel shown and check “Invert”. Click Add.
    Post6-3.png

    Nothing much will appear to have happened, but there will be a mask next to the layer thumbnail:
    Post6-4.png

    Layer masks act like filters that let parts of the image “show though”. Areas where the mask is white will allow the layer to be visible. Areas where the mask is black will be transparent, and the various shades of grey will be varying degrees of transparency. Now right click on the “Sea” layer and select “Apply Layer Mask”. This will remove pieces of the layer based on what was showing through the layer mask. Here I have made all the other layers invisible to see the result:
    Post6-5.png

    Also, check out the histogram….that is where we start next.

  8. #8

    Question A question...

    Hi,

    I'm a gimp newbie and there is something I do not understand, regarding one of the first steps (as quoted and marked in blue):

    Quote Originally Posted by RobA View Post
    Post 4: I have an idea – part 2

    Now Invert the selection (Select->Invert), create a new black layer called “Land Mask” and fill the selection with white. Now save the selection to a Channel (Select->Save to Channel) and rename the channel to “Land Mask”. This will be used a fit bit later.
    Post4-3.png

    Now clear the selection (Select->None).
    I am not able to fill the selection with white. I've selected the land area with the wand as mentioned above (in the tutorial), but with the bucket fill tool I can only fill the sea part with white color...

  9. #9

    Default

    Where is the "marching ants" selection outline? Still around the dark sea? When you invert the selection the marching ants should be surrounding the land area. Make sure it inverted correctly.

    And as a quick-tip, you can just drag from the colour-box directly to the canvas, rather than using the paintbucket tool.

    -Rob A>

  10. #10
    Guild Journeyer Rhotherian's Avatar
    Join Date
    May 2010
    Location
    Oudtshoorn, South Africa
    Posts
    155

    Default

    Quote Originally Posted by RobA View Post
    Now using the Magic Wand Tool, (making sure Sample Merged is Checked and the Threshold is 0) click anywhere in the dark area. This will define your coast. (!!!) If you want to adjust it, just undo the selection (ctrl-Z) and change the levels of the “Land Clip” layer. I wand back and tightened the coast a bit.
    I'm stuck here (I got it up untill the "(!!!)").

    My coast doesn't become "defined". It just stays blurry. Sample merge was checked and the threshold was zero, yet nothing happened when I clicked. =/

    Infact, when I followed the steps after that when my coastline was suposed to be more varied than before, it actually ended up being less varied - smooth, actually! I even lost half my islands.

    I continued anyway, but when I came to the sea part the layer-mask-thing didn't work. Nothing became transparrent.

    To make things worse, I just realised that my "brushed, gradients, etc." widdow doesn't display pallets. I also couldn't fins any options to display them. -_-


    I followed the instructions exactly as intructed, but I gave up at the sea part as nothing seamed to work... =(


    Please help.



    Edit: Nevermind, I found the "pallets" tab, so that problem's sorted.

    I think I found the probelm. I think it may just be a case of misunderstanding. You see, my GIMP (2.6.7) doesn't have a "lighten" blend option for layers. The only options remotely simmilar are "hard light", "soft light" and "lighten only". The hard and soft light options gave an effect simmilar to what I wanted, but too random, having created or removed land regardless of the blur (I got islands and seas in the middle of nowhere, nowhere near the blured areas). The remaining option, "lighten only", had no effect whatsoever, shining through directly onto the origional map, blurs still showing.

    This may be because of the blend mode applied to the "land noise" layer. You see, "overlay" made it invisible. Only when I changed the blend option to everything from "grain extract" to "multiply" did I get results simmilar to the ones above.

    So, the main problem boils down to the layer blend options... =(
    Last edited by Rhotherian; 05-23-2010 at 06:55 AM.

Page 1 of 45 1234511 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •