Appendix 4: Envelope System


NIFF 2.0 has a data area for use by the Envelope System.

The Envelope System is a system for the animation of 1 Skin being affected by multiple nodes.

In NIFF 2.0, the geometry for the Envelope is divided and registered as three parts, as shown in Figure 1 below.

Figure 1: Envelope part

In a Full Weighted part, all of the vertices inside the part receive 100% of their influence from a single node. For example, in the top portion of Figure 1 above, the vertices within the parts surrounded by the blue lines move as a single joint.

When all vertices are created as Full Weighted, the result is as shown in Figure 2 below.

Here, the red vertices receive 100% of their influence from the red joint, and the blue vertices receive 100% of their influence from the blue joint.

Figure 2: A Skin created from two Full Weighted parts.

The Morph part is used in situations where only two nodes will cause a part to deform, such as the area inside the red line in Figure 1, where the part is linked to two nodes in only one direction of rotation. The angle between the nodes which comes from this rotation has values equally spaced between 0 and 180 degrees. The angle values act as the parameters to output vertex positions and perform vertex animation.

Figure 3: Angle of the Morph part

A table like the one shown in Figure 4 below is created for angle 0 to angle 180. The data is stored in order from table #0.

Figure 4: Creating data for a Morph part

A Weighted part is calculated using the different weight values for each of the numerous nodes from which it receives influence. In the bottom portion of Figure 1, the area within the green line falls under this category. In this case, weight values from identical nodes are grouped at the same vertex and output as a single part.

Copyright 1998, 1999 NINTENDO Co., Ltd. All rights reserved.
Copyright 1998, 1999 MONEGI CORPORATION All rights reserved.