<tabweights> ‐ A table of weights in an interpolator
This element defines a table of weights in an interpolator.
The weights are used to calculate the key positions in an interpolator space from the positions of the interpolator generators. The key positions build the vertices of the interpolator polygon (Section 2.3).
The integer value size of the size attribute defines the number of weights contained in the table of weights. This element expects size weights in its scope.
The following elements must occur in tabweights: as many weights as the value of the size attribute.
The example below defines a tabweights made of three 3-dimensional weights. It is used in an interpolator to define the respective weights of the components at each key position (vertex) of the interpolation polygon. The first and third vertices of the interpolation polygon are the first and third components of the interpolator. The second vertex is a blending between first and second components with equal weights.
<interpolator id="interpolator_square" type="node" size="3">
<schedule begin="100000" dur="100" repeatCount="1" mode="polynomial"
param_sinus_polynom="2" fill="freeze" ini="1" end="3"/>
<tabweights size="3">
<weights dim="3" index="1">
1.00000 0.00000 0.00000
</weights>
<weights dim="3" index="2">
0.50000 0.50000 0.00000
</weights>
<weights dim="3" index="3">
0.00000 0.00000 1.00000
</weights>
</tabweights>
<use xlink:href="bib/PM/flat_square2.xml:#node body #1" />
<use xlink:href="bib/PM/folded_square.xml:#node body #1" />
<use xlink:href="bib/PM/flat_square2.xml:#node body #1" />
</interpolator>