|
Okay, I just finished typing the tutorial. Its long. The first mosaics will be
easy, but things will get comlicated in the end. If you have questions, Im sure
youll know where to post them.
These tutorials will be text-ONLY. It assumes you have some very basic knowledge
of photoshop. Every step is described in great detail, so If you have no idea
what I mean, look it up in the help function of photoshop. Press F1 in PS to
bring it up. Enter a search term (pencil tool for example) and youre on your
way. I used Photoshop CS2, but any version from 6.0 will do fine. You can even
download a trial version from Adobes site ( www.adobe.com ) which propably has
all the functionality you need.
By the end of the tutorial youll have to work on your own quite a bit. Ill be
giving less detailed instructions, and you propably will have a hard time
following everything if you dont have some basic photoshop skills. Just thought
Id give you the heads-up.
Ill explain three types of mosaics. Studs out, side mosaic and mixed. Each
section repeats techniques found in previous sections, so its recommended that
you read (and do!) it all and not skip ahead.
Starting out: Palette creation
Since theres an almost unlimited number of pixel colors, but only a limited
number of Lego bricks, youre going to have to create a palette of colors you
are going to use.
To do that, youre going to have to create a new document in Photoshop, and use
the pencil tool to fill at least one pixel of the image with one of the colors
you have.
Say, you only want to use black, white, red, blue and yellow bricks in your
mosaic. So, you open a new document in photoshop, and fill it with black. Use
the pencil tool to add (at least) one white pixel, one red pixel and so forth.
When all the colors youre going to use are in the image, go to file>save for
web. Set the file format to GIF. When youre starting out, its propably still
set to JPG. When you look at the color table, youll see the colors of your
image neatly in squares. Verify that theres ONLY the colors there you need, and
save the image as palette.gif of something like that.
Creating a studs-out mosaic.
Every image on a computer is built with tiny squares called pixels. Photoshop
works with pixels that are square. The top of an 1x1x1 lego brick is also
square. Convenient, isnt it?
You propably already have a picture you want to use. Its propably also way to
big. Youll need to decide the dimensions of your mosaic. If you want to make a
mosaic of 30 by 50 studs (or bricks), you need to resize your image to 30x50
pixels. You may also want to run filter>sharpen>sharpen afterwards.
When your image is the size you need it to be, click file>save for web again.
Once again, make sure the filesize is GIF. Go look for the color table. Most
likely, there are hunderds of squares in the color table, indicating which pixel
colors are in use. You CAN delete every superfluous color from the palette and
add only the colors you need, or you can tell photoshop to use the colors in the
palette.gif we saved previously. Next to the color table youll see a circular
button with a triangle on it. If you click it, you should see the option load
color table. Look up your palette.gif and use that. If your PS doesnt have
this option, youll have to modify the palette yourself.
Youll want to zoom in a lot, since pixels are very small. If everything went
well, youll see your picture in the colors you need. You can play around with
the settings, too. Pay attention to the Dither option. It has several
settings:
No dither: Every pixels is changed to the color that is closest to a color in
the palette. Diffusion: Pixels are changed to a color in the palette, but
theres some variation. When viewed from afar, the colors look more genuine.
(for example: if you have a field of mixed yellow and red pixels, they will be
seen as orange when viewed from a distance. Pattern: Same thing as diffusion,
but more accurate. Diffusion: Same thing as diffusion, but less accurate.
Dithering makes colors look better from far away, but that also means that
youll get many pixels that are 1x1 bricks. Without dithering youll have bigger
colorspaces, which means you can also use your bigger bricks to fill the mosaic.
Just play around with the settings until you have something you like, and save
the file.
Resizing and adding a grid
Now, too keep track of the individual bricks, youll propably want to make a
grid to see the bricks on. Makes it easier to count and all. Resizing would also
be a good idea.
Open your saved *.gif file.Click select>all and edit>copy. Close the *.gif
Create a new PS document with a transparent background. PS will automatically
make sure its the same size as the image youve just copied, so thats a good
thing. Click edit>paste.
Click image>image size. Set the width and heighth to 1000%, which means that
the image will be magnified to 10x its original size. Every pixel will become
be a cluster of 10x10 pixels.
Photoshop has a really good resizing algorythm, which is aimed at resizing
photos. We wont be needing that. To turn it off, set the resampling method in
the image resize dialog to nearest neighbour, then click OK to apply the
transformation.
Now for the grid. Leave the current document open, and create a new document
with a transparent canvas. The size should be 10 x 10 pixels. Grab the pencil
tool and draw an outline of a 10x10 box on the canvas. (this means: black 10x10
box with a 8x8 gap in the middle.) The middle should be transparent, which is
indicated by the grey-white checkerbox pattern.
This outline will be placed on every 10x10 pixel box in the original image.
Click select>all which selects the entire canvas. Click edit>define pattern
Youll be asked to name the pattern. Press OK. Close the 10x10 image, as we
wont be needing it anymore.
Return to the master image with the 10x10 blocks. Create a new layer ABOVE the
colors layer. Grab the flood fill tool, and in the settings of the flood fill
tool, indicate that youll fill with a pattern. Pick the pattern weve just
created and fill the new layer with the pattern.
Well, there you go. A nice patttern for your building pleasure.
Upping the stakes: Creating a side-mosaic.
The top of a 1x1 brick is good for creating mosaics, but its a bit big, so you
wont be able to see much detail. However, you can also use the sides of lego
bricks and plates to create mosaics. The side of a 1x1 plate is much smaller.
The disadvantage is that these sides are not square, so youll have to go
through a bit more trouble in preparing your image.
Intro: Dimensions!
Most experienced lego builders will know all of this already, but Ill go over
it once again just in case. Everyone will have found out that if you stack three
plates on top of eachother, itll be exactly as high as your typical brick.
However, if we stick 5 plates on top of eachother, itll be exactly as high as
two studs (bricks) wide. This is massively useful, but for now well just have
to remember that the sides of a 1x1 plate are 2 to 5 (heighth to width)
Since Photoshop doesnt support pixels in this size, well say that a brickside
onscreen will be 5 pixels wide and 2 pixels high.
Grab an image you want to mosaicize and resize it. As weve just established
that the side of a brick is 5 pixels, you can use that to find out how big your
mosaic will be. To make things easier for me, ensure that your canvas is set in
multiples of 10. You can see (and fix) this by clicking image>canvas size. So,
if youve got a picture shrunk to 87x53 pixels, change the canvas size to 80x50
pixels to drop the clutter.
When your picture is right, click select>all and copy it. Paste it in a new
document. Make sure the canvas size is the same, and write the dimensions down
somewhere. Click image>image size and set the resampling method to nearest
neighbour. Uncheck the box that says constrain proportions. Resize the image
horizontally to 200%, and vertically to 500% (2 by 5, sound familiar?)
Now run filter>pixelate>mosaic at a setting of 10 pixels. Resize the image
back to its original size. Make sure that the resampling method is still set to
nearest neighbour.
Grab the zoom tool and examine the image up close. 2x5 blocks. Wonderful. You
can now repeat the file>save for web procedure to export the image with a
proper palette, just like the studs out mosaic. Youll only be able to use no
dithering, though.
(!) ADVAAAAAAAAAAANCED (!)
If you still want to use things like dithering in you mosaic, proceed as
follows: Resize your image to 20% horizontally, and 50% vertically. All 2x5
blocks will now be resized to 1x1 pixels. Use save for web to apply all the
dithering options you need. When youre done, save the file and reopen it.
Resize to 500% horizontally and 200% vertically, and youre back to the 2x5
plate size. Add a grid if you feel like it, and youre done.
Mixed mosaics
As weve already seen, 5 plates high equals 2 studs wide. So, if youd put 4 1x2
plates on top of eachother and a 1x2 tile on top of that, youll have a square.
In a side-mosaic every 2x2 studs space will hold 2 stacks of 5 plates This
square will be 10x10 pixels in photoshop. Its possible to turn this square 90
degrees (counter)clockwise.
The idea behind the mixed mosaic is that every 10x10 pixel area of a picture is
best described by either a normally-oriented 2x5 stack, or one on its side.
To create one, grab a good picture, and make sure the canvas width&heighth are
multiples of 10. Youll need to create TWO side mosaics of this picture; one
normal, and one with the picture turned 90 degrees. Just follow the same
directions for the side mosaic, and make sure you keep the original image
somewhere. After you get the two mosaics, turn the rotated mosaic back to its
original orientation. Paste everything in a new document, so you get:
1: The original image
2: The right-side-up mosaic
3: The sideways mosaic
All these layers should be the same size.
Now, weve got two mosaics in two directions. Now we need to decide where to use
which mosaic. For this, we turn to Photoshops blending modes
(!) Trivia: Blending modes (!)
Hopefully you already know how layers work. If you have no clue about blending
modes; its how photoshop treats a layer on top of any other layers. You can set
blending modes in the layer palette. Look for a dropdown box set to normal
theres plenty of options here, try not to get intimidated.. Ill try to explain
blending modes to the folks who have no clue. The rest of you can skip this
segment. For simplicitys sake, lets assume theres one layer on top of a
background. In normal mode, the layer will simply show up. When theres a
visible pixel on the top layer, photoshop will ignore all the pixel information
in the background layer. cuz hey, the layers on top of the background layer so
you cant see the background. But if you take the blending mode lighten, for
example, photoshop will compare pixels of the layer and the background. If the
layer pixel is brightest, that one will show up. If the background layer pixel
is brightest, that one will show up. (now guess what the blending mode darken
does.)
There are plenty of blending modes which do plenty of different things. screen
adds the brightness of the background and layer pixels together, while multiply
does the opposite.
But the blending mode well be using is difference. This is how it works:
If a pixel on the layer is the same as the background below it, the end result
will be a pure black pixel. If theres a slight difference between the pixels,
the end resulting pixel will be slightly lighter. The bigger the difference, the
brighter the pixel will be.
So, what were going to do is putting the original image on the bottom, and one
of the mosaics on top. Set the mosaics blending mode to difference. Select
the canvas CTRL-A and click edit>copy merged, edit>paste. This layer is a
map of the differences between the original and the mosaic. Dark patches are
similar, while bright spots indicate parts that are different. Desaturate the
layer using CTRL-SHIFT-U. (Or use image>adjust>hue/saturation, works too.)
Make this layer invisble for now, and do the same with the other mosaic, so
youll have two maps for both mosaics. Run filter>pixelate>mosaic on both. Use
a setting of 10 pixels.
Now, youve got the difference maps, that come in 10x10 pixel squares. These
will indicate which mosaic piece (horizontal or vertical) goes where. As
brightness level indicates the level of difference, the square with the lowest
brightness level wins. Now, you could go and compare each and every square on
your own, but that would be boring. Instead, make a duplicate of the top
difference map layer. Set the blending mode of the top duplicate to
difference, and set the blending mode of the bottom duplicate to lighten.
(!) Explanation on what the hell were doing (!)
By now, youll propably have a very dark document, with some dark gray squares.
The bottom difference map layer (the one you didnt duplicate and which is
still set to normal) is just sitting there. The layer on top of that (the one
set to lighten) will ONLY show where its lighter than the bottom map. The layer
set to difference on top of that will be black where the layer of lighten
shines through since theres no difference, but where the bottom layer shines
through there will be some small difference, so these squares will be lighter.
So, the black squares in the resulting image mean that the the duplicated
layers squares are brightest there.
If you couldnt quite follow that, dont worry.
Press D on your keyboard, which will reset the colors youre painting with. The
main color will be black. Click select>color range and set the fuzziness to 0.
Which means only the pure black squares will be selected.
You now have a selection of the 2x2 squares that are better suited than the
original orientation. Wether this selection is for the horizontal mosaic or the
vertical mosaic I dont know, youll have to decide for yourself. Keep the
selection active, and make every layer invisible except for the horizontal and
vertical mosaic layers. Select the top layer of those two, and press delete.
Theres a 50% chance you deleted the right part. If the act of deleting the
selection doesnt improve the picture, youve deleted the wrong part. Undo
(CTRL-Z), click select>inverse to invert the selection and try deleting the
selection from the top layer again. When in doubt, retry.
And this is where youre on your own. Once again, you can export using the
palette. You can create a grid. Go nuts.
I realize that this tutorial, especially at the end, is quite bare-bones. This
is since I dont have the patience to retype every step over and over again.
Nevertheless, I hope you found it useful in some way. If you have any comments,
questions or suggestions, let me know and Ill see what I can do.
I you want some hands-on help, or you need me to create plans for your mosaic
you can try contacting me on MSN at chokingonsplintersahotmail.com . Im not
online all that often, though. If you dont have the patience for me to turn up,
posting here or mailing me is a better idea.
|
|
Message has 1 Reply: | | Re: Red lady mosaic
|
| (...) snip Peer, Thanks for creating this tutorial, the technique is very interesting. The tutorial covers well the one step from your original post that I wasn't sure of, letting the computer decide which orientation is best for each section. You (...) (19 years ago, 30-Apr-06, to lugnet.build.mosaic, FTX)
|
Message is in Reply To:
| | Red lady mosaic
|
| (2 URLs) Brickshelf link> I like mosaics. I like SNOT. The unholy combination of these two resulted in what I'll call mixed mosaics. (anyone willing to devise a witty acronym is free to do so.) Anyway. The most basic mosaics are made with the studs (...) (19 years ago, 29-Apr-06, to lugnet.announce.moc, FTX) !!
|
13 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|