Blur Filter EffectBlur Filter Effect*
*Contents  *Index  *Topic Contents
*Previous Topic: Alpha Filter Effect
*Next Topic: Chroma Filter Effect

Blur Filter Effect

Description

Averages the pixels of the visible object for a specified length and direction, creating the impression that the object is moving at high speed.

Syntax

{FILTER: Blur(Add=add, Direction=direction, Strength=strength)}

ParameterDescription
addBoolean switch specifying whether to add the original image to the motion-blurred image. If true (nonzero integer), the image is added to the motion blurred image; if false (zero), the image is not added to the motion blurred image.
directionDirection of the motion blur clockwise from the vertical orientation of the object, rounded to 45-degree increments. The default value is 0 (straight up). Possible values are shown in the following table.
ValueDescription
0Top
45Top right
90Right
135Bottom right
180Bottom
225Bottom left
270Left
315Top left
strengthLong value that specifies the number of pixels the blur will extend.

Remarks

You can create a nice effect for fonts by setting add to 1.

For the direction parameter, negative values or values larger than 360 degrees will wrap around to their equivalent angle (for example, -45 degrees is equivalent to 315-degree orientation). This allows mathematical manipulations to be carried out easily in code.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.