Page 1 of 4 1234 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

    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 10:27 PM. Reason: Fixed the path.. Thanks Jeff_Wilson63!

  2. #2
    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.



  3. #3

    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

  4. #4

    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.

  5. #5

    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.

  6. #6

    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.

  7. #7

    Default

    Post 7: Create the sea, continued.

    Now we want to stretch out the colours in the “Sea” layer across the entire black to white range. With the sea layer selected, auto normalize the image (Colors->Auto->Normalize). The histogram will now have little gaps in it. As the greys have all been spread out. To fix this, select the non-transparent area (by clicking on the “Sea” layer and selecting “Alpha to Selection”. Invert the selection (Select->Invert) and fill the area with white. Remove the selection (Select->None) and apply a 20px Gaussian blur.
    Post7-1.png

    Note the histogram is now filled in.

    Now the next bit of magic. Set the foreground colour to the darkest water colour (water 5) by clicking on it in the Palette Editor (that we set up at the beginning), and set the background colour to the second lightest water color (water 5) by Ctrl-clicking on it.
    Post7-2.png

    Now we will turn the B/W into colour, by clicking Color->Map->Gradient Map, and the water is almost (for now).
    Post7-3.png

    Recently, I came up with a nice technique (in my opinion) to finish the shoreline water. Often people will stroke the shoreline with a light colour, or add a light blur. Here is a quick technique for making a unique look…

    Create a new layer called “Seashore”, and fill it with the really light water colour (Water 1). Add a layer mask, using the “Land Mask” channel, and ensure “Invert” is unchecked.

    (Any edits you do now will be on the mask shape, unless the layer thumbnail is clicked. The one you are editing will have a white box:
    Post7-4.png

    Give the layer mask a 10 px Gaussian blur.

    Now apply a displacement map (Filters->Map->Displace). Use an X displacement of 20, and a Y displacement of -20. For both, pick the “Land Noise” layer. Set the Displacement Mode to Cartesian and the Edge Behavior to Smear.

    Repeat this, flipping the signs, so set X to -20 and Y to 20. This screen grab is after the first one.
    Post7-5.png

    This will give a nice wispy, random looking water edge, once the land is put in place…

  8. #8

    Default

    (And now for a commercial message...)


    I'm pausing here. I'll try to get more up shortly...

    Attached is a pdf (5MB) of the process up to this point.

    -Rob A>

  9. #9

    Default

    I can not get the transparent selected to fill with white! Is there something I'm missing?

  10. #10

    Question

    Quote Originally Posted by RobA View Post
    Post 7: Create the sea, continued.

    Now we want to stretch out the colours in the “Sea” layer across the entire black to white range. With the sea layer selected, auto normalize the image (Colors->Auto->Normalize). The histogram will now have little gaps in it. As the greys have all been spread out. To fix this, select the non-transparent area (by clicking on the “Sea” layer and selecting “Alpha to Selection”. Invert the selection (Select->Invert) and fill the area with white. Remove the selection (Select->None) and apply a 20px Gaussian blur.
    During this part of the process, I cannot fill the transparent area with white. I will attach a photo of my map. I would attach a gimp file if I knew how to haha.maptest.PNG

Page 1 of 4 1234 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
  •