I often needed this kind of plugin to add some depth to images and always used creepy workarounds to get my results. Yesterday I started thinking about the problem of dynamic blur radiants and now „Moderated Blur“ is available as a Python-Fu plug-in for GIMP.
This plugin enables dynamic transitions between blur radiants and can be used for a lot of camera- and optical effects (example). It uses a grayscale map to determine the blur radiant and can be configured with some options:
- Moderator: Select the layer that will be converted to greyscale and that will be used as the „blur map“
- Min Blur: The minimum blur, used in black areas of the map
- Max Blur: The maximum blur, used in white regions of the map
- Accuracy: The amount of different regions. Each region is blurred on its own so this raises render time.
- Order: Which blur intensity should be composited on top? Use Min for sharp edges and Max for soft transitions.
- Scale: Use logarithmic or linear blur radiants. Logarithmic blur starts softer and creates a nicer field of depth.
Download the script, unpack it an move it to ~/.gimp-x.x/plug-ins/
- Create a layer with grayscale content where white will trigger the highest blur radiant and black will use the minimum blur. Move it whereever you want in your layer stack, you can even set its opacity to 0.
- Select the layer to be affected
- Choose Filters -> Moderated Blur
- Choose the moderator layer you created, make other settings and start the process
- Optionally remove the moderator layer afterwards
Focus on my shitface
Field Of Depth
Tilt Shift (Fake Minitures)
Depth with edges
(Yes, the mask was dashed off – just thought as a demo)