OK, someone was confused about how to create a simple tiling paint preset.
So, let's do it.
Goto the Paint Synthesizer Classic Editor.
So i want to reset the paint synthesizer controls to a known state. So i'm going to reinitialize them. I could have used the Reinitialize paint synth macro edit command located in the integrated Help Browser. But i decided to do the same thing inside of the Editor itself.
So, holding down the shift key, i then pressed the Init button at the bottom of the paint synthesizer Editor. Note the handy help tip that appears when you position the mouse cursor above a Studio Artist interface element. So when you forget, you can use this feature to tell you what a particular control does.
Shift clicking the Init button reinitializes all of the Editor control panels. If i had just clicked Init without holding down the shift key, then only the controls in the current Path Start control panel would initialize.
Now i want to paint in a grid. So i went back to the Path Start control panel and changed the Generator to Grid Scan-Max Brush. There are other grid scan options, but this one is nice because it automatically sets the tiling grid to be the size of your Source Brush.
If i now press action, i can see how my edits effect the behavior of the auto-drawing paint preset.
And there it is, a grid of single paint nibs.
Lets look at the current Brush Source control panel settings.
So i have a simple default computational brush that is generating the shape of the colored circles you see painted above.
If i change the Comp Brush parameter to Rect, i have changed my computational brush from a circle (sphere actually) to a rectangle.
If i now run Action, note how the painting changes to paint in rectangular tiles instead of circles.
Ok, so we now have a regular tiling pattern that is painting in solid colors for each tile.
So, how can i convert that into a photo mosaic preset that paints in different images in each tile block.
I run the File : Paint Synthesizer : New Image Folder Brush... menu command.
A standard file dialog comes up asking me to select a folder of images. I do that.
So now my Brush Source Control panel has changed to the following:
You can see i now have an Image Folder brush for my Brush Source. Composed of a set of 91 images in a folder that are 48x32 pixels. For the purposes of this tutorial you want all of the images in your folder to be the same file. For fun, after the tutorial, try one where they are different sizes and see what happens.
If i now press Action, i get the following image painted in the canvas.
Cool, i now have a painted tile grid of images from my custom image folder. But you will notice that the image structure is defining the paint for each tile, as opposed to the actual image in the brush being painted directly.
Why is this, and how can we change it to get the actual image painted in.
Go to the Paint Fill Setup control panel. This is what you will see.
So, Fill From is set to Paint Color.
And Fill To is set to Canvas Image.
So, pure black pixels (value = 0) in each image brush will fill with the paint color, pure white pixels in the image brush will fill in with the current canvas color, and pixels in between in the image brush will be a mix of the 2 based on the luminance value of the brush pixels.
So this explains what you see painted in the canvas above.
Confused. DOn't be.
Think back to when you had a simple spherical computational brush (black int he center, progressing to white at it's boundaries, and how that painted in as colored circles that fade at their edges to the current canvas color there.
So the same Paint Fill From and Paint Fill Apply settings are being used in both cases. Easy to visualize when your brush is a simple black and white sphere, harder to visualize when your brush is a set of different images with a variety of different pixel values in them.
But i just want to paint in the actual image being used for the brush.
Like i said, easy to set up.
We are still in the Paint Fill setup control panel.
Change the Fill From setting to Brush Image.
Change the Fill Option to From.
So, with the 2 edits i just made, i specified that the Brush Image will be used as my Fill From source, and i don't want the brush to do any blending to a second Fill To signal.
press Action and you get the following painting.
And there they are. Each tile is one of your custom images in your image folder brush.
But wait, you say. Where did my source image go in the painting?
The paint synthesizer is doing exactly what you have told it o do.
Let's go back to the Brush Source control panel and see what is happening.
So, looking at the MB 1D Frame Mod control, we can see it is cycling forward through the individual images in your custom image folder. Ever changing what is displayed on the canvas each time it paints. Fun, fun.
If you want the individual image tiles to be intelligently selected to represent the source image coloring, then change that MB 1D Frame Mod control to RGB Mapping.
So now the image used for painting in a tile is selected to best represent the source image coloring for that area of the canvas. Press Action and see what i mean.
And there it is, your photo mosaic image.
At this point, the person just getting started at making photo mosaic imagery usually starts in on complaining that the photo mosaic is not as representative of the source image as they would like.
And the answer my friend, is that your results are only going to be as good as the set of images you have selected for your brush, how many different colors they can represent well, and how they match or don't match the source image. If that doesn't make sense to you, think about it a little bit. Then try some experiments with smaller and larger sets of different images. Hopefully it will start to make sense.
But suppose you are too lazy or 2 confused to do that.
No problem. There are other approaches.
Go back to the Brush Source control panel, and change that MB 1D Frame Mod control back to Cycle Forward. So now, each image painted will be different in each tile.
Then, go to the Paint Fill Setup control panel and change the Fill From setting to Paint Brush Load.
So, now we are routing the magical output of the Paint Brush Load control panel as our Fill From source for painting.
So, let's go to the Paint Brush Load control panel.
Change the Type to Image Processing.
Change the Source to Brush. (because we want to paint in the images in the image folder brush, remember).
Change the Algorithm2 setting to PaintColor MeanShift.
What have we done with our 3 editing changes here. We want to use Image Processing Brush Load, we want to use the Brush for the source so your images in the brush are run through the modular image processing in this part of the paint synthesizer, and we want to use one particular image processing operation, the PaintColor MeanShift algorithm to colorize each individual image folder brush right before it is painted on the canvas. The colorization comes from the current source color being routed through the paint synthesizer, which ties in to the particular location of the canvas being painted in.
Press Action, and there it is. You have now created a photo mosaic where each tile is a different image, but somehow magically thy still work to rep[resent the source image.
Now, at this point we have shown you how to generate a simple tiling preset that paints in a rectangular tiling pattern with one brush nib.
We then showed you how to use that to paint in a custom image folder brush.
We showed 2 different approaches to building the image positioning and coloring for 2 very different photo mosaic styles.
There are a lot of different colorization algorithms in that Brush Load control panel. They all look visually different. That is why we offer so many. Explore, explore.
Here is a tip to help with that.
So what the hell does MB 1D Frame Mod mean for that control we keep editing in the Brush Source control panel.
MS stands for movie brush. Studio Artist supported move brushes before it supported image folder brushes.
They basically work the same, one works off of frames in a movie file, the other works off of images in a folder.
Frame Mod = Frame Modulation. How are we modulating through the index of frames as we paint. There are so many different ways to do it.
We are always happy to add more. Just tell us what you want. Yes, i know you want 4 or more quadrant RGB mapping. Coming to a Studio Artist in your future.