Legacy Blur
2D Modifier - Blur the image
Types of blur
Here are the different types of shapes that are supported by legacy blur.
These shapes are configurable in the Parameters editor:
-
Gaussian
-
Box
-
Hexagonal
-
Spin
-
Radial
-
Directional
-
Circular
-
Random
-
Diffuse
In addition to the choice of the shape, other parameters such as lightness and down-sampling can be configured. Here are three examples of legacy blur presets:
-
Bloom
-
Glow
-
Frozen window
Here are more examples on the effect of the size and lightness parameters:
-
No Blur
-
Size 1 - Down Sampling 1 - Base size 20px
-
Size 1 - Down Sampling 1 - Base size 100px
-
Size 4 - Down Sampling 1 - Base size 100px
-
Size 1 - Down Sampling 6 - Base size 100px
-
Size 1 - Down Sampling 6 - Base size 100px - Source Level 100
-
Size 1 - Down Sampling 6 - Base size 100px - Source Level 100 - Lightness 50
Here is a little trick to transform a 8bit picture into a 16bit one for smoother displacement when using the Displace (check directly at 1min49). This method can be used in a general way to prevent banding in gradients :
Blur Parameters
Sample Numbers : The size of the hight quality blur pass (number of samples used)
Samples down Sampling : What level of precision these samples will be. For instance for an image of 64x64 pixels, with a down sampling of 1/32, the blur sample resolution will be of 2x2 pixels
Samples Distance : Size of the low-quality blur pass (how far apart will the samples will be). The more higher the size is (more samples), the more the blur “radius” will seem high. Note that as base size is expressed in pixels, down sampling will also affect this parameter.
Variables:
- Shape: How the blur samples will be scattered in the image (Circular, Radial, Directional, Gaussian blurs, ect)
- Loading: The loading status of the legacy blur shape . It can be loaded , enabled by not loaded or unloaded
- Activation: The activation status of the legacy blur shape . It can be active , enabled by not active or inactive
- Color Label: Associate a color label to your legacy blur shape to make it easily locatable
- Solo: Activate this to keep only this legacy blur shape active and hide all otherin same location
- Editable: The editabiliy status of the legacy blur shape . It can be locked directly , locked indirectly or editable
- Preset: Select a preset to apply on the legacy blur shape
- Status: Warnings and errors associated to this legacy blur shape
- Additional Brightness: Control the lightness added to the blurred image (useful for glow/bloom effects, if used with the sourceLevel at 100%)
- Source Level: How visible the un-blurred source will be (useful to create glow/bloom effects)
- Pixel Type: Depth of the Pixel of the legacy blur . Can be used to increase the pixel depth of an image (useful when displacing a mesh for instance)
Python
Oil.createObject("BlurTextureModifier")