#### NIFF 1.0 Specification

## 3. Binary Format

### 3.11 TriList

#### 9) Tri Area

u32 | tri_tag
u32 | this_tri_index
u32 | tri_size
u32 | tri_nv_index
u32 | tri_color_index
u32 | vtx_index0
u32 | st_index0
u32 | vtx_nv_index0
u32 | vtx_color_index0
u32 | vtx_index1
u32 | st_index1
u32 | vtx_nv_index1
u32 | vtx_color_index1
u32 | vtx_index2
u32 | st_index2
u32 | vtx_nv_index2
u32 | vtx_color_index2
u32 | nintendo_extension_block_size
u32 | user_extension_block_size
NintendoExtensionBlock
UserExtensionBlock

Tri Area Memory Map

u32 tri_tag | Tag indicating Tri. Specify the following tag
    TAG_TRI 0x00080101
u32 this_tri_index | Index number of this Tri area
u32 tri_size | Number of bytes of this Tri area
u32 tri_nv_index | Index number of TriNv contained in the TriNvGroup to be referred
u32 tri_color_index | Index number of TriColor in the TriColorGroup to be referred
u32 vtx_index0 | Index of Vtx contained in the VtxGroup to be referred. Specify three points for triangle to be drawn.
u32 st_index0 | Index number of St contained in this StGroup
u32 vtx_nv_index0 | Index number of VtxNv contained in the VtnNvGroup to be referred
u32 vtx_color_index0 | Index number of VtcColor contained in the VtxColorGroup to be referred
u32 vtx_index1 | Index number of Vtx to be referred
u32 st_index1 | Index number of St to be referred
u32 vtx_nv_index1 | Index number of VtxNv to be referred
u32 vtx_color_index1 | Index number of VtxColor to be referenced
u32 vtx_index2 | Index number of Vtx to be referenced
u32 st_index2 | Index number of St to be referenced
u32 vtx_nv_index2 | Index number of VtxNv to be referenced
u32 vtx_color_index2 | Index number of VtxColor to be referenced
u32 nintendo_extension_block_size | Nintendo extension block size
u32 user_extensino_block_size | User extension block size
NintendoExtensionBlock | Nintendo extension block
UserExtensinoBlock | User extension block

Copyright 1997-1999 NINTENDO Co., Ltd. All rights reserved.