This question comes up endlessly. How do i build a photo mosaic image like one of the ones Studio Artist user Charis Tsevis makes using Studio Artist?

Charis makes extensive use of sub-nested tiling in his imagery. So that is what people are typically referring to. There are all kinds of different adaptive tiling effects you can generate in the Studio Artist paint synthesizer for creating photo mosaic effects. You can do regular tiling, adaptive tiling, non-rectangular photo collage style regionization, alpha-masked painting, etc. Upcoming v5 offers all kinds of automatic sub-nested regular tiling options.

But in v4, you need to run multiple iterations of the paint synthesizer to build up a regular sub-nested tiling effect. You could do that manually, or automatically. Here's an example of what i mean by sub-nested regular tiling.

So, note that the tiling is a regular rectangular tiling pattern. The sub-nesting occurs in areas of the image where you want to generate more detail. Each lager tile is filled with 4 smaller tiles.

When i was doing the daily effects blog, i put together several blog posts that discussed some approaches to generate this kind of effect (herehereherehere). Peter from tech support has been answering some user questions about generating this kind of effect recently, and informed me that my old blog post explanations were overly complex. Ass backwards is i believe the term he used.

And he is right. There is a much simpler way to build up the effect if you want to do it automatically. My old posts started with the largest tiles, and then worked with auto-masking progressively smaller tiling passes. The auto-masking for sub-nesting when working this way is kind of complicated, and requires the use of a second layer. So, a cool tutorial, but what if you want to do it an easier way.

The trick is to build the image up from the smallest tiles to the largest. When you build up the effect in that order, the sub-nesting happen automatically by the nature of how rectangular tiling works. So, you can just use the Texture Range controls in the Path Start control panel to restrict the painting of subsequently larger tiles. Their placement will automatically generate a sub-nested effect. Assuming that you insure their brush size is exactly 2X of the previous tile.

So, how did i generate the above effect. I started by building a movie brush from a folder of images. I downloaded a set of icon tile images from SourceForge. I then made a simple 1 step PASeq that erases the canvas to the source image. I then ran the Action : Process with Paint Action Sequence : Image to Movie menu command. I selected the image folder i wanted to use the images from, then named the output movie file, and then let it generate the movie brush movie file. Here's a tip on generating a movie brush from a folder of images.

I choose the frame size of 128x128 pixels for my movie brush file. I did this because the number 128 evenly divides for many iterations of .5X smaller frame sizes. This is a key thing to keep in mind if you want to do a sub-nesting tile effect.

I then built a paint preset that does a standard rectangular tiling effect using a movie brush. I used the Grid Scan- Tile Spacing Generator option in the Path Start control panel. I picked this Generator because it automatically adjusts to whatever max brush size you are working with to generate the tiling pattern.

You also want to make sure you have the Path Application control panel parameters setup properly for tiling, as shown below.

I used a very simple Paint Fill Setup, that just lays down source brush paint nibs at tile locations.

And i used RGB Mapping for the movie brush frame indexing.

I used the Max Size parameter in the Brush Modulation control panel to adjust the brush size for the subsequent paint passes to build up the sub-nested tiling effect. So the sizes i used were 7, 13, 25, and 50% of the 128 pixel source brush size. This corresponds to a tile size of 8. 16. 32. and 64 pixels.

So you need to make sure you get the sizing exactly correct. If you are off by one pixel, the effect will not work. You can use the calculator app to figure it out if needed. The thing to keep in mind is that the brush size modulation is always an integer sizing of the original source brush size. So if the percent size modulation is a floating point number, it gets rounded to the lowest integer value.

For the first smallest tile size paint pass, i tiled the entire canvas. Then for the subsequent 2X size increase paint passes, i turned on the Texture Range control in the Path Start control panel.

For each paint pass, you will reduce the Texture Max. Depending on the contents of our source image, you may need to mess with that.

For the final 100% paint pass, i would suggest doing that manually, since there are probably only a few tile blocks you will want to judiciously place. I skipped that step in my example above.

So, i hope this explanation of sub-nesting tiling for photo mosaic effects helps people trying to get started with it. i'll put together the presets associated with this and put them in a new post below.

Views: 1457

Reply to This

Replies to This Discussion

Hi!

So what should I do if my brush size is 512x512 px?

Because then the percents dont match the correct tile sizes.

For example 13% = 66 and 12% = 61, and what I want is tile size 64px.

//Niklas

You can make a copy of your movie that has a smaller frame size, and then use that as the master for further reduction.

So once you get to the place where you can't get an even % reduction to the correct size, then swap out your original movie brush for a smaller copy. 

Making a smaller copy of a movie brush is really easy. Just make a 1 step PASeq that erases the canvas to the source, set the canvas frame size accordingly, load your original movie as the source, then run Action : Process with PASeq : Source to Movie.

RSS

Latest Activity

David Buckle posted a photo
4 hours ago
David Buckle posted a photo
yesterday
Paul Perlow posted a photo
Thursday
David Buckle posted photos
Thursday
NewJack Rasputin replied to NewJack Rasputin's discussion SA5 win and QT7 - eyetracking etc. in the group General Technical Discussion
"Ok, actually I've been using the PC with eyetracking to control my old mac with SA4 all along. If you have a gigabit switch and VNC you can hardly notice the lag. But the mac is acting... Not right... It's what - almost 20 years old, and…"
Thursday
NewJack Rasputin replied to NewJack Rasputin's discussion SA5 win and QT7 - eyetracking etc. in the group General Technical Discussion
"Oh, that makes everything clearer thank you! Oh, i'll just exclude QT files from my spider and off we go! Asy know i'm all about movies... I'm going to make something really fun: brite grey - i'll be describing it and asking for…"
Thursday
Synthetik Software replied to NewJack Rasputin's discussion SA5 win and QT7 - eyetracking etc. in the group General Technical Discussion
"How come you are switching from mac to windows? Is the eye tracking better on windows now?"
Wednesday
Synthetik Software replied to NewJack Rasputin's discussion SA5 win and QT7 - eyetracking etc. in the group General Technical Discussion
"Hi Tucker, good to hear from you. The only real issue with windows and quicktime is if you downloaded and opened some deviant quicktime file from the web. So don't instal a quicktime web browser plugin, and don't download quicktime files…"
Wednesday

© 2018   Created by Synthetik Software.   Powered by

Badges  |  Report an Issue  |  Terms of Service