Chapter 2 Nodes

2-2. Links to Nodes in NIFF

2. Handling of Polygons in NIFF

In NIFF, one polygon is expressed as Tri node. Tri node links data as the follows.

Figure: Data Link fo a Polygon in NIFF

As illustrated previously, one triangle (polygon) consists of polygon color, normal vector and three sets of vertex coordinates, st coordinate, normal vector and color.

The counterclockwise surface becomes the front side of the triangle (polygon) when connecting the vertex coordinates (vtx0 | vtx1 | vtx2) as illustrated in the diagram below.

Figure: Front/Back side of a polygon