Previous topic

Animation

Next topic

Misc. Classes

This Page

Effect Nodes

class libavg.avg.BlurFXNode

Bases: libavg.avg.FXNode

Blurs the node it is applied to. Corresponds to the Gaussian Blur effect in Photoshop.

setParam(radius)

Sets the width of the blur. This corresponds to the radius parameter of photoshop.

class libavg.avg.ChromaKeyFXNode

Bases: libavg.avg.FXNode

A high-quality realtime chroma key (greenscreen or bluescreen) effect. Can be configured by using the avg_chromakey.py script. The effect is carried out in the HSL colorspace (http://en.wikipedia.org/wiki/HSL_and_HSV).

color

The color to key out. Pixels of this and similar colors are made transparent.

htolerance

Hue tolerance for the key color.

ltolerance

Lightness tolerance for the key color.

softness

softness > 0 causes pixels with a color close to the keyed-out colors to become partially transparent. Greater values increase this effect.

stolerance

Saturation tolerance for the key color.

class libavg.avg.FXNode

Bases: Boost.Python.instance

Base class for GPU-based effects. These effects can be added to any Node by calling Node:setEffect()

class libavg.avg.NullFXNode

Bases: libavg.avg.FXNode

Do-nothing effect. Exists primarily as aid in debugging libavg.

class libavg.avg.ShadowFXNode

Bases: libavg.avg.FXNode

Adds a shadow behind the node.

setParams(offset, radius, opacity, color)