第3章 バイナリフォーマット


3-11. TriList


(9)Triエリア

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エリアメモリマップ

u32 tri_tag Tri indicated tag, 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 point for drawing triangle.
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 参照するVtxColorのインデックス番号
u32 vtx_index2 参照するVtxのインデックス番号
u32 st_index2 参照するStのインデックス番号
u32 vtx_nv_index2 参照するVtxNvのインデックス番号
u32 vtx_color_index2 参照するVtxColorのインデックス番号
u32 nintendo_extension_block_size 任天堂拡張ブロックサイズ
u32 user_extensino_block_size ユーザー拡張ブロックサイズ
NintendoExtensionBlock 任天堂拡張ブロック
UserExtensinoBlock ユーザー拡張ブロック


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

目次へ次へ