VMix:
Filter:
Scintillator/Classes (extension) | Quarks > Scintillator > VGens > Mathematics > Signal Processing

VMix
ExtensionExtension

Piecewise vector blending VGen

Description

Similar to the binary operator blend, returns a linear mix of u, v with a between [0, 1]. Supports piecewise blend or a single blend argument to apply to all components

Supported Rates: frame, shape, pixel

Class Methods

.fr

.sr

.pr

Make a VMix VGen at requested rate.

Arguments:

u

The first vector input to blend.

v

The second vector input to blend.

a

The blend factor. If a is a vector then each component of a will be used as the blend factor for the corresponding components in u and v. If a is a single number then it will apply that blend factor to all components of u and v.

Returns:

If 0, returns u. If 1 returns v. Generally returns (u * (1 - a)) + (v * a)

Dimensions

inputoutput
1, 1, 11
2, 2, 12
2, 2, 22
3, 3, 13
3, 3, 33
4, 4, 14
4, 4, 44

Examples