NIFF 1.0 Specification

3. Binary Format

3.11 TriList


5) Reference VtxColorData Area



When TRI_ANIM_VTX_COLOR_FULL is specified

u32 vtx_color_group_index(0)
...
u32 vtx_color_group_index(tri_anim_frame_num)

Reference VtxColorData Area Memory Map
u32 vtx_color_group_index Index number of VtxColorGroup to be referred



When TRI_ANIM_VTX_COLOR_KEY is specified

u32 vtx_color_anim_key_num
u32 vtx_color_anim_key(0)
...
u32 vtx_color_anim_key(vtx_color_anim_key_num - 1)
u32 vtx_color_group_index(0)
...
u32 vtx_color_group_index(vtx_color_anim_key_num - 1)

Reference VtxColorData Area Memory Map
u32 vtx_color_anim_key_num Total number of key frame animation keys
u32 vtx_color_anim_key Key frame value
u32 vtx_color_group_index Index number of VtxColorGroup



When vertex color animation is not performed

u32 vtx_color_group_index

Reference VtxColorData Area Memory Map
u32 vtx_color_group_index Index number of VtxColorGroup to be referred

PreviousNext

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