YOUR ACCOUNT

Login or Register to post new topics or replies
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Synthetic Cubism by Crapadilla
http://www.filterforge.com/filters/501.html

  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Fantastic work! Reminds me of the works of Russian avant-garde painters of the early XX century. Brilliant.
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Now some bad news:

It is slow. You use a lot of Worley noises (Blocks, Cells, Chaffs etc) and you connect them into HighPass -- this is a very slow combo.

The speed can be improved a bit by eliminating the duplicates of Chaffs components in the bottom-right branch -- these 3 components have the same parameters, therefore they can be replaced with a single Chaffs component with three outbound connections -- that will enable our sample cache optimizations.

Another problem is not technical but artistic -- while the filter looks great on our standard preview image (life preserver), it doesn't look as good on other images.
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Quote
Fantastic work! Reminds me of the works of Russian avant-garde painters of the early XX century. Brilliant.


Thank you, Vlad! smile:D

Quote
It is slow. You use a lot of Worley noises (Blocks, Cells, Chaffs etc) and you connect them into HighPass -- this is a very slow combo


Aye it is. I have already optimized the worley noises for speed by tuning their details all the way down. The highpasses, I am afraid, are a necessary evil, as they are essential to the filter, creating the dirty collage look as well as accentuating edges and creating depth. I may try and apply the highpass after reassembling RGB and see whether that works well.

Quote
The speed can be improved a bit by eliminating the duplicates of Chaffs components in the bottom-right branch -- these 3 components have the same parameters, therefore they can be replaced with a single Chaffs component with three outbound connections -- that will enable our sample cache optimizations.


Haha, I forgot to randomize these. I will follow your advice instead and turn them into one.

Quote
Another problem is not technical but artistic -- while the filter looks great on our standard preview image (life preserver), it doesn't look as good on other images.


I noticed that the filter works best on "iconic", high-contrast images with well defined areas of light and shadow, clear composition and simpler color schemes with broad areas of color. It certainly won't work for all images. While I am open to suggestions how to improve the generality of the filter, I am still convinced that one won't be able to avoid choosing the subject image very carefully to get best results.
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Check out these...

--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
trollkind
trollkind
Posts: 1
Now that is absolutely impressive, I especially love how only one eye of the puppet gawks from behind the circle on the left side. This truly is art out of one button pressed.
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Great example -- please post more!
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Crapadilla wrote:
I am open to suggestions how to improve the generality of the filter


I'd suggest to work on color -- currently, the filter basically destroys the color scheme of the original image, but I think it can be kept. Look at the HLS and HSY components in Channels -- they can be used to handle Hue, Lightness and Saturation separately.
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Yeah, some variations of the filter just 'click'! But you can't expect pushing a button and have it spew out the perfect result. Experimentation is the key...

Check this...

--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Crapadilla wrote:
I am afraid, are a necessary evil, as they are essential to the filter


Agreed.
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Quote
I'd suggest to work on color -- currently, the filter basically destroys the color scheme of the original image, but I think it can be kept. Look at the HLS and HSY components in Channels -- they can be used to handle Hue, Lightness and Saturation separately.


Hmmm. To largely 'destroy' the color scheme of the original actually was my intention. That is exactly what the filter does, it broadly samples colors from the image, destroying the fine color detail as you can see in my first example image. Why? Because the early cubists actually struggled with color and used rather monochromatic color schemes. Even the more colorful cubist paintings have mostly reduced palettes.

Anyway, I would be interested in what exactly you have in mind with the HLS and HSY components. Would you kindly elaborate a bit?
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Crapadilla wrote:
Anyway, I would be interested in what exactly you have in mind with the HLS and HSY components. Would you kindly elaborate a bit?


No, I didn't have anything specific in mind, just wanted to suggest the idea of handling color with these components. For example, you can extract Hue and Saturation channels, posterize them with ToneCurve/Stairs combo, then assemble them back to an image -- this can be used to simplify the color scheme.
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
That is definitely worth a look. The current method indeed IS quite brutal with the colors. smile:D
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Vladimir Golovin wrote:
Hmmm. To largely 'destroy' the color scheme of the original actually was my intention.


I've taken a closer look at the way you produce the final color (the Blend component with Color as a blending mode) and it looks fine. Probably I was referring to a specific variation that seemed too discolored to me.
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Another example:

  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Crapa, I've found the root of all evil -- the elevation gradient is destroying the color. This is because only the topmost row of "pixels" is sampled for a gradient. So, in your situation, the final color scheme depends on what colors show up in the topmost row of the Gradient input. We should find a way to avoid this top-row sampling problem.



  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Aha! If I understand the elevation gradient components workings correctly, then this would be a problem when the elevation input image doesn't spread its pixel values across the full white to black spectrum, right?
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Crapadilla wrote:
this would be a problem when the elevation input image doesn't spread its pixel values across the full white to black spectrum, right?


This would be a problem even for a full-range gradient -- if a color is not represented in the top row of the Gradient input, it is not going to appear in the Elevation gradient.

Here's my suggestion -- I've replaced the Elevation Gradient with offset-based distortion, and added a slider to desaturate the image for cases when it is too colorful:

Synthetic Cubism c1u.ffxml
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Ok, I checked your alternative version.

The problem I have with your technique is that 'flat' areas with a contiguous value are no longer colored uniformly, which was my intention with the elevation gradient design.

Rather, I think I need to replace the offending 5-color-gradient with something that passes along the full spectrum of sampled color. I will have to look into this. Still, it remains unclear to me why the 5-color-gradient only passes along the color 1 information.
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Another kind of image that instantly produces nice results without much tweaking. Obviously the palette sampling is still the problem, as the skin tone is gone.
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Crapadilla wrote:
the 5-color-gradient only passes along the color 1 information


5-Color-Gradient passes every color -- the Elevation Gradient just doesn't "ask" for it, except for the topmost row of pixels. Here's our unfinished help article about Elevation Gradient:

http://www.filterforge.com/more/help/...dient.html
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
here goes...

--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Ah! That lightens up the bulb! the gradient is read from left to right only, automatically assuming that every vertical column of pixels contains the same color. Thanks for the help, Vladimir!

Now that can be worked around I think!
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Excellent smile:D
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Sweet! My mistake made it to the help wiki, hehe. smile;)
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Actually, this is a known issue with all gradient inputs -- Filter Forge has no dedicated component and input type for gradients, so we use regular map components and map inputs to emulate them, and this requires certain assumptions that are hard to figure out without documentation.
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
Stunning! smile8)
  Details E-Mail
Lucato
FF addicted

Posts: 505
Filters: 39
Yup, really cool results! Congrats Crapa.
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Ok guys, update incoming.

I redesigned the color sampling mechanism based on my newly-gained knowledge about the pitfalls of gradient mapping. smile:D

The user should now have much more control over the colors, as the filter now includes an option to display the palette or the elevation gradient for color finetuning. The 'Palette Shift H' and 'V' controls offset the original image before sampling, allowing the user to easily create a wide range of palettes.

Regarding speed: I followed Vlad's advice and consolidated the chaff components into one. Furthermore, I experimented with an alternative version of the filter, which only had one highpass component. The results didn't live up to what the original version does. While speed was increased quite a bit, it took away too much of the fine detail.
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
- Off-topic -

I noticed that some of the filter pages (including the page for this filter) seem to have a problem with correctly displaying the filter description: Empty spaces between words seem to be randomly omitted.

This may be a problem with my browser (Firefox 1.5.0.4), but you never know. Anyone else notice this?
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Small tip:

With 'Show Palette' checked and 'Palette View Mode 2' selected, you can see a colored preview of the collage, which renders very quickly as it bypasses the three highpass components. This is draft quality so to speak, and its great for quickly browsing through variations.

smile:D smile:D smile:D
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Crapadilla wrote:
Empty spaces between words seem to be randomly omitted.


Fixed.
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Crapadilla -- I've just approved the update. It's faster, but the default preset has lost its charm, now it looks somewhat dull. Here's a good candidate for the default preset:

http://www.filterforge.com/filters/501-v2.html
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
A minor problem -- the "Palette View Mode" slider has only 2 positions, it should be replaced with a checkbox.
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Quote
the default preset has lost its charm, now it looks somewhat dull


Agreed. I will take another look at the presets...

Quote
A minor problem -- the "Palette View Mode" slider has only 2 positions, it should be replaced with a checkbox.


In the works.
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Just approved the update.
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Quote
Just approved the update.


Wow! That was fast. You guys are gaining momentum there... smile:D
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Btw, this is what I get when I render the default preset. I guess the difference is due to 'Seamless Tiling' being activated.

--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
SpaceRay
SpaceRay

Posts: 12302
Filters: 35
Great and awesome Result Crapadilla from this example you have put



Well done this filter form FF 1.0 in 2006

Could be possible to have the choice and option to also use the original source colors?

I will have to try this and see how I can use in a good way

It is a pity that both Crapadilla and Vladimir are not anymore in the forum smile:cry:
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
boy, i dont recall seeing this one at all. as steve might say, me likey!
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,719 Registered Users
+8 new in 7 days!

153,544 Posts
+13 new in 7 days!

15,348 Topics
+71 new in year!

Create an Account

Online Users Last minute:

21 unregistered users.