YOUR ACCOUNT

Login or Register to post new topics or replies
kirkl13
Posts: 38
A way to make a fading and distorted halo around black details, a gradient driven smears etc. Very useful for faking some erosion effects.

In Substance Designer it's not a blur actually. It's 35 steps of gradually fading displaced pixels in directions set by noise/gradient input. Using lighten, darken or usual mix blending.

I know, true blur and smear would make it unusable in FF. But perhaps it might be possible to recreate same effect with refraction/distortion and blending modes? Did somebody try it?

I seems can't recreate this, not sure why. And after just 3-4 steps it's starting to be slow already.

Any ideas?
  Details E-Mail
Indigo Ray
Adam

Posts: 1442
Filters: 82
Slope Blur Documentation

Code
Performs an advanced, High Quality blur where the Anisotropy/Direction is driven by a Grayscale "Slope Map". Picture it as the Slope Blur effect following the slopes of your Slope Map as if it were a Heightmap, similar to Directional Warp (which it is based on internally).


"Following the slopes" = angular derivative, which is already present in several library filters (ex. my peanut butter filter, This Way).

The "blur" component is not usable, but we can approximate a blur by iterating over tiny increments (for example, Wind Blur, or like I did here).

We already have a filter where blur intensity is controlled by an input map, but not blur direction as far as I know.
  Details E-Mail
Rachel Duim
So Called Tortured Artist

Posts: 2498
Filters: 188
As mentioned by Indigo Ray, This Way (actually True Variable Blur by Sphinx) may do the trick. I modified the original filter and added a Radius Map Selector = 12 which is the angular derivative of the input image. With this is a Derivative Blur control which allows you to fine tune the derivative/blur effect. Let me know if this what you had in mind, or if I'm way off the mark. smile;)

True Variable Blur modified.ffxml
Math meets art meets psychedelia.
  Details E-Mail
kirkl13
Posts: 38
Thanks guys for lots of suggestions , I am still looking through them. But whatever Substance designer tells on its help page, for me it looks not like a regular blur but rather shifting/displacing an image in a few consecutive steps, samples as they call them. Here how it looks with only 4 samples

[img]https://www.dropbox.com/s/rwr3uxti3n4oltt/slopeblur.jpg?dl=0[/img]

Its subgraph only shows multiple "warp" and "blend". No blur at all. It's just with lots of steps it starts looking like a blur.

Actually I have no idea what the math behind the true Gaussian blur is but believe it's calculating expensive operation. Perhaps it's what the blur is , shifting pixels? But I just hoped to recreate it in FF using refraction. It's an analog of SD "warp", right?.
  Details E-Mail
Indigo Ray
Adam

Posts: 1442
Filters: 82
Attached is a Filter Forge analogue of the Substance Designer's "Slope Blur" and Genetica's "Smear Blur".

How it works: Multiple distortions of increasing intensities are blended together. With a large number of iterations, it looks like a blur. (basically what Kirk said)

The blur input determines not only the direction of the distortion at each point, but the strength of the distortion at each point as well. You could have two separate inputs for direction and strength with just a little filter editing.

Motion blurs, box blurs, radial blurs, and this thing that Vlad made are really just special cases.

Slope Blur.ffxml
  Details E-Mail
kirkl13
Posts: 38
Thanks Indigo Ray. The only thing left is Min (darker) and Max(lighter) blending modes . I seems can't figure out how to modify it properly to make loop iterations using those other blending modes instead of "add". Whatever I try returns just black image. Not sure why.

in Substance Designer the Min(darker) allows to do true looking erosion and also nice drip/smearing/ halo effects.
  Details E-Mail
Indigo Ray
Adam

Posts: 1442
Filters: 82
I will see about how to do Min/Max.
Another idea is to add a decay to the iterations, like the "density" of the Smudge component, or the "gaussian" part of gaussian blur.

Correction: Box/gaussian blurs sample from multiple directions and can't really be made with this filter. Motion blurs and spin blurs operate in two directions, so you could use this filter twice.

Some examples.
In the bottom right, the # of steps is reduced for effect. At higher steps, it's a zoom blur.

  Details E-Mail

Join Our Community!

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

33,711 Registered Users
+18 new in 30 days!

153,531 Posts
+36 new in 30 days!

15,347 Topics
+72 new in year!

Create an Account

Online Users Last minute:

22 unregistered users.