Page 1 of 3 123 LastLast
Results 1 to 10 of 59

Thread: [Award Winner] Mosaic Tile Map in Photoshop (& GIMP)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Community Leader pyrandon's Avatar
    Join Date
    Feb 2007
    Location
    Michigan, USA
    Posts
    1,341

    Tutorial [Award Winner] Mosaic Tile Map in Photoshop (& GIMP)

    In this tutorial I will demonstrate the basic steps for creating a realistic mosaic tile image in Photoshop. Specifically, of course, the image I am interested in creating is a map. (See this map as a reference.) GIMP users: scroll to the second page of this tutorial and you will find the adjustments needed to make such a map as well (posted by the incomparable RobA).

    I consider this a medium difficulty task, and I therefore recommend a beginning PS user follows some basic tutorials on basic PS concepts/processes either before or while using my tutorial. Just do a web search--there are thousands of helps out there for the beginning Photoshopper! (Or check out this thread!)

    I will in most cases give pull-down menu commands instead of shortcuts, mainly because they are easier to write! Go ahead and use shortcut keys and buttons if you know how! Oh, and I am currently using Photoshop CS3, but I believe this will work in any CS version--and possibly in older versions as well. I also am a PC user, so you Mac-ies out there will have to remember that when I say "ctrl" you need to "cmd"--or whatever it is you do!

    (Also, in the interest of full disclosure, I must also admit I found some rudiments of the process described below in a recent little article in Photoshop Creative (issue 30)--although adapted and adjusted to my maniacal purposes, of course!)

    If you have any questions or comments (or improvements!), feel free to chime in or add comments after the tutorial is complete! Here we go!


    STEP ONE: CREATING TILES
    Although Photoshop has a mosaic filter, the results are far too regular and stale for my tastes. So instead I will create a custom brush in order to "paint on" tiles. So first open a new PS document of the default size and resolution, then choose the Polygonal Lasso tool. Draw a 4 sided polygon slightly out of square. Fill this shape with black. [see image 1]

    With the polygon still selected (the "ants marching") go Edit>Define Brush Preset. Give the brush a name, & click OK. You can then delete and to deselect (ctrl-D) the polygon.

    Now open Window>Brushes, select your newly-defined brush (it will probably be the last shown), and set the following:
    • Brush Tip Shape: Diameter 20 px, spacing 130%
    • Shape Dynamics: Size Jitter 20%, Size Jitter Control="Off", Angle Jitter 2%, Angle Jitter Control="Direction"
    • Scattering: Scatter 15%
    • Color Dynamics: Foreground/Background Jitter 100%

    Now you can click the fly-out menu and select New Brush Preset to save that brush [see image 2]. (If you wish, you can also delete the original tile you saved)

    Note that you should adjust the brush settings to your preference. Those that I list above will give a somewhat unrefined, ragged look to the map--which fits the archaic style I plan to emulate. If you are creating a refined, polished look, then definitely reduce the jitters and dynamics closer to 0% so your tiles lay perfectly straight!

    And that's it! Now when you stroke with this brush you create tiles of slightly varying size and rotation that mix the foreground & background colors [in the second attached image you can see examples of the one I just made!]

    NEXT UP: Beginning your map
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	mos_tut1--tile.jpg 
Views:	700 
Size:	22.9 KB 
ID:	2337   Click image for larger version. 

Name:	mos_tut2--tile_brush.jpg 
Views:	1211 
Size:	262.3 KB 
ID:	2338  
    Last edited by pyrandon; 02-20-2008 at 01:24 PM.
    Don
    My gallery is here
    __________________________________________________ _______
    "Keep your mind in hell, but despair not." --Saint Silouan [1866-1938]

  2. #2
    Community Leader pyrandon's Avatar
    Join Date
    Feb 2007
    Location
    Michigan, USA
    Posts
    1,341

    Post Step Two: Map Setup

    Okay, so laying out a map for a mosaic is just like planning any other cartography project. The only special need for my specific purpose here is that in the end of the planning phase I have the land selected. Here are two of about fifty or more options to achieve this result:

    OPTION ONE: Scan In a Drawing.
    The first image below is a hand sketch I scanned into my computer then opened into Photoshop. It is about 1000 pixels square, at 300 px/in resolution. (Remember, if your scan is not at this level when opened in PS you can go to Image>Image Size.). To get my selection, I used the Quick Selection Tool for the large areas and the Lasso Tool for everything else and to clean up the edges.

    OPTION TWO: Draw PS Color Shapes
    In the second image I created a blank PS page (File>New) about 1000 pixels square, at 300 px/in resolution. Then on a new layer above "background" I used a hard-edged brush in a random color to create my land masses. Then, simply ctrl-click the thumbnail of the color layer in the layers window (the little picture next to "Layer 1") and the land masses were selected.

    Please note that whatever method you use, mosaic tile work by its nature is simplifying; thus unless you plan the image to be HUGE or the tiles themselves to by teeny-tiny, I do not recommend highly detailed coastline contours.

    You can also see that I left a wide border around the edge of the document; this is because I plan to have a fancy-schmancy border around the final map. You can, if you choose, take your map all the way to the edge.


    NEXT: Beginning to tile!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	mos_tut3--scanned in map plan.jpg 
Views:	550 
Size:	168.6 KB 
ID:	2340   Click image for larger version. 

Name:	mos_tut4--drawn map plan.jpg 
Views:	970 
Size:	239.7 KB 
ID:	2341  
    Don
    My gallery is here
    __________________________________________________ _______
    "Keep your mind in hell, but despair not." --Saint Silouan [1866-1938]

  3. #3
    Community Leader pyrandon's Avatar
    Join Date
    Feb 2007
    Location
    Michigan, USA
    Posts
    1,341

    Post STEP THREE: Land Tiles

    Now we'll lay tiles that will make up the land, so roll your sleeves up, mix up some virtual thinset and we'll get a-laying.

    1. After my last step I still have the ants marching around my land masses. Now I activate the Marquee Tool and right-click inside the selection, then choose "Make Work Path." In the "tolerance" window that pops up, I choose 0.5 pixel (the lowest possible tolerance), and click "ok."

    2. Create a new layer on top, labeled "Land".

    3. Click the Brush Tool & select the tile brush I created earlier.

    4. Select a foreground and background color that meld nicely (perhaps even use a color scheme generator, such as Color Jack or this one).

    5. Now I click the Paths tab in the layers window [see Image 1]; you should find only the work path you just created. In the bottom right of the Paths window is a button called "Stroke Path With Brush"--I click it and my land is outlined in tiles. Neato! [Again, see Image 1] (And if anything goes wrong, don't forget Edit>Undo is your friend!)

    6. Now I'll fill my land. First, I drag the work path to the "Create New Path" button to save that original path (just in case). Then with this copied path selected, I...
    • Click the "Load Path As Selection" button, so the ants march once again around the land.
    • Then I Select>Modify>Contract that selection by just over 2/3 the width of the tiles I'm using. I'm stroking with 15 px tiles, so I contract by 11.
    • Now I follow the same process as above: click the Marquee Tool, right click inside the selection & choose "Make Work Path", then select my tile brush, and finally click the "Stroke Path With Brush". A second row of tiles shows up inside the first. [See Image 2]


    7. I'll keep doing this same process over and over again until my entire land area is filled with tiles.
    Now, this repetition could (as I'm sure you can tell) get very tedious, so I created an Action to do this exact function. If you've never used Actions, they are basically ways of "recording" your steps so you can "play them back" as many times as you wish, repeating a long series of steps in a single click. So using my tiling Action about a dozen times took about 15 seconds and filled in all the land. Look at the third image I've attached and you can see the action window: I recorded the process of tiling, selecting, contracting, making a path...so with the push of a button it was all done for me! Very handy. (Plus, now that I've saved it I can repeat this process on any map at any time in the future!)

    8. My final step is to fill in the larger gaps left by my automated process. I simply "dab" the tiles in where needed--sometimes even adjusting the size to a smaller px to fit with as little overlap as possible. Oh, and a useful trick I recently learned: click in one place then hold down Shift and click somewhere else and PS will draw a straight line between the two; very useful for longer rows of straight-line tile fill!

    NEXT UP: Ocean (a circular tile fill. Oooooohhhhh!)
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	mos_tut5--stroke work path.jpg 
Views:	1085 
Size:	228.2 KB 
ID:	2342   Click image for larger version. 

Name:	mos_tut6--stroke work path2.jpg 
Views:	1040 
Size:	103.0 KB 
ID:	2343   Click image for larger version. 

Name:	mos_tut7--stroke work path action.jpg 
Views:	1278 
Size:	345.2 KB 
ID:	2344  
    Last edited by pyrandon; 02-13-2008 at 06:41 PM.
    Don
    My gallery is here
    __________________________________________________ _______
    "Keep your mind in hell, but despair not." --Saint Silouan [1866-1938]

  4. #4
    Community Leader pyrandon's Avatar
    Join Date
    Feb 2007
    Location
    Michigan, USA
    Posts
    1,341

    Post STEP THREE: The Sea

    The tile-laying process I described in step two easily works for all other aspects of the map. The sea could be created by simply creating a rectangular selection with the Marquee Tool, then running that same process (i.e., Action) with blue tiles. But my vision for the map is for the water tiles to be circular, which is basically the same thing, but with circles.

    So first I create a new layer on top of all others, entitled "Sea". Then, I'll use the Elliptical Marquee tool to select a small circle (hold down Shift for a perfect circle) in the approximate center of the image. I then select a foreground and background blue/blue-green.

    Now I must adjust two parts of my Action: 1) since I'm starting small and growing out--the opposite of how I tile filled my landforms--instead of contracting the selections I must Select>Modify>Expand them. 2) I plan to use a slightly larger tile for the sea than I used for the land (20 px. vs. 15 px), so that Expand command is at 15 px. rather than 11 px.

    Now I'm ready. Then I run the Action over and over again, and ascending circles of blue tiles appear. I'll keep doing this until the entire screen is filled with blue tiles. [See image 1]

    The only hitch I have found with the circles is this: as the circles keep expanding in size, they grow less and less circular, so if I continue using the Action over and over, by the end my circles are oblong or even squared. This imperfection really doesn't matter overly for an image that is intended to resemble tiles laid by the fallible human hand (in fact, I rather like it), but still I have stopped twice and re-Marqueed a perfect circle to "reset" the shape. (If anyone out there in cyberspace knows how to prevent this degeneration, please let me know!!)

    Next I move the Sea layer below the land layer, click Layer>Layer Mask>Hide All so the entire sea tile layer is hidden.

    Then, in the Paths window, I click on that original land path that I saved, click "Load Path as Selection", then Select>Modify>Expand it by 8 pixels (so the selection is actually surrounding the outermost land tiles).

    Finally I Select>Inverse and filled in the sea with white. (I also save this land- surrounding path as a new work path, in case I ever need that again too!)[see Image 2].

    (I should note that this "non-destructive" technique of masking tiles was chosen in order to allow me to easily adjust my land tiles later in the process if I so desire. Late in the building/planning stages, for before final rendering when all is set and I am satisfied with my layout, I will rasterize the mask so the tile layer effects work out correctly.)

    NEXT UP: The Fancy Border
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	mos_tut8--sea tile circles.jpg 
Views:	1035 
Size:	227.4 KB 
ID:	2347   Click image for larger version. 

Name:	mos_tut9--sea tiles masked.jpg 
Views:	1418 
Size:	331.3 KB 
ID:	2348  
    Last edited by pyrandon; 02-13-2008 at 11:02 PM.
    Don
    My gallery is here
    __________________________________________________ _______
    "Keep your mind in hell, but despair not." --Saint Silouan [1866-1938]

  5. #5
    Community Leader pyrandon's Avatar
    Join Date
    Feb 2007
    Location
    Michigan, USA
    Posts
    1,341

    Post STEP FOUR: Map Border

    Now I'll tile the border for my map. First I hide all the sea tiles that would overlap the border. I click the layer mask thumbnail in the "Sea" layer, then Marquee a rectangle around the edges of the land, followed by Select>Inverse. I fill this area with black, thus hiding the blue tiles. (Do not Deselect yet, though.)

    Now I create a new layer on top of my stack entitled "Border". Of course, the possibilities for patterns and effects in the border are limitless. I'll start with a simple frame by (you guessed it) following the same tile fill procedure I've used for both land and sea. I first Select>Inverse so the land area is the selected area again. Then Select>Modify>Expand by just over half my tile size (I'm going to use big 30 px tiles for the border, so I expand by 17 px). Then I choose new tile colors and follow the procedure (Action) from before, expanding until my edges are filled.

    As you can see from Image 1, I alternated colors for variety. You will also notice that the corners contain angled tiles; this is a result of the stroking process, and I like the effect for my ancient map. If you would like to avoid this, either erase the corner tiles by hand, or bypass the entire stroking of work paths system altogether by drawing the lines of tiles in by hand (click one end, then Shift-click the other is easiest.)

    Now, you can stop there if you like or do any number of fancy-schmancy border patters. In Image 2 you can see I added some simple, triangular flourishes to my border. I did this by placing a layer mask revealing all over the Border later, then selecting a square marquee, Select>Transform Selection to rotate it 45%, placing it in the center of each side of the border and filling it with black to hide that triangle of border. Finally, I hand brushed in the new tiles in a newly-created layer called "Border Decor" & erased excess tiles. Pretty simple. The corner lines I created completely by hand, masking out the overlapping Border tiles as well.

    NEXT UP: Land Details & Labels
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	mos_tut10--basic border.jpg 
Views:	797 
Size:	282.4 KB 
ID:	2350   Click image for larger version. 

Name:	mos_tut11--border decor.jpg 
Views:	1103 
Size:	380.7 KB 
ID:	2351  
    Last edited by pyrandon; 02-14-2008 at 12:24 AM.
    Don
    My gallery is here
    __________________________________________________ _______
    "Keep your mind in hell, but despair not." --Saint Silouan [1866-1938]

  6. #6
    Community Leader pyrandon's Avatar
    Join Date
    Feb 2007
    Location
    Michigan, USA
    Posts
    1,341

    Post STEP FIVE: Borderlines & Inserts

    I want to now finish up tiling the map. This could take either much time or be rather brief, depending upon how intricate I want my final image to appear. I think I will only insert borderlines and one mini picture on this map, but on your map you could go into great detail, inserting mountains, rivers, multiple images, etc. using the exact same methods.

    First I use the Paint Bucket Tool to change the Background layer's white to a tan/taupe color to simulate grout. This will help make my white tiles stand out.

    Then, I put a layer mask (revealing all) over my Land layer. I'll use this in a minute to hide overlaps.

    Now I create a new layer on top called Borderlines, then switch to the Paths menu where I create a new work path. Using the Freeform Pen Tool I draw in my borderlines. Then I choose my tile brush and click contrasting foreground/background colors. I click "Stroke path with brush" and my borderlines are now tiled.

    But I need to get rid of overlapping tiles. So I switch back to the layers window & ctl-click the thumb in my Borderlines layer, thereby selecting the tiles I just created. Now Select>Modify>Expand by 2 or so pixels. Finally, in the Land layer mask I fill the selection with black in the layer mask, thus hiding the land tiles and giving a grout line beside my borderlines. [see image 1]

    I'll follow a similar process (simplified) for an inserted mosaic picture. I found a picture of a Roman ship from a simple web search, so I copy-pasted that into my PS document, but you could also draw free hand. In a new layer on top of all other layers I draw the ship with my tile brush, using various color combos and tile sizes. Then I delete the pattern pic, and in the layer mask for the sea I simply paint with a hard edged brush in black to blot out the overlapping tiles. It's as simple as that. [see Image 2]
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	mos_tut12--borderlines.jpg 
Views:	1497 
Size:	327.8 KB 
ID:	2360   Click image for larger version. 

Name:	mos_tut12--ship.jpg 
Views:	1542 
Size:	226.1 KB 
ID:	2361  
    Don
    My gallery is here
    __________________________________________________ _______
    "Keep your mind in hell, but despair not." --Saint Silouan [1866-1938]

  7. #7
    Community Leader Facebook Connected Badger's Avatar
    Join Date
    Feb 2008
    Location
    Morton, TX
    Posts
    1,473

    Praise

    Pyrandon, Just want you to know that this tutorial helped me out immensely with the new version of my Lighthouse VTT map... which when I'm finished I'll show you so you can see...

    I just had to give you some props and some praise ... I believe I've already given you some rep, I'll try again, because you deserve for this one...

    5 Stars from me...

  8. #8
    Community Leader Facebook Connected Badger's Avatar
    Join Date
    Feb 2008
    Location
    Morton, TX
    Posts
    1,473

    Post

    Here's a little quick looksee .. just wanted Don to see how much he means to me
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	quicksnap.png 
Views:	305 
Size:	367.4 KB 
ID:	4822  

  9. #9
    Guild Journeyer
    Join Date
    May 2009
    Location
    Southern France, near Toulouse
    Posts
    153

    Post

    Here is my attempt, converting one of my maps into mosaic style one... Inspired by Herodote's. The Oikoumene or Known world.

    Not very readable...
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	CarteOikMozaic01.jpg 
Views:	391 
Size:	1.73 MB 
ID:	13738  

  10. #10
    Community Leader Gandwarf's Avatar
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    3,012

    Default

    The readability is indeed awful
    All the other stuff looks really neat, though. Nice job.
    Check out my City Designer 3 tutorials. See my fantasy (city) maps in this thread.

    Gandwarf has fallen into shadow...

Page 1 of 3 123 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
  •