16. ClusterList

(1) ClusterList

> u32 cluster_list_tag | Describes the tags of ClusterList. Please set the tags shown below.
>     TAG_CLUSTER_LIST        0x00280000
> u32 cluster_list_header_size | Describes the ClusterListHeader byte size.
> u32 cluster_list_size | Describes the ClusterList byte size.
> u32 cluster_shape_num | Describes the ClusterShape number.
> u32 cluster_shape_size | Describes the ClusterShape byte size.
> ClusterShape | This is the ClusterShape area.

> Go to the data chunk

(2) ClusterShape

> u32 cluster_shape_tag | Describes the tags of ClusterShape. Please set the tags shown below.
>     TAG_CLUSTER_SHAPE        0x00280100
> u32 this_cluster_shape_index | Describes the ClusterShape index number.
> u32 cluster_shape_size | Describes the byte size of ClusterShape.
> u32 cluster_shape_name_index | Specifies this ClusterShape name with the index number in NameList.
> u32 cluster_shape_type | 0x0
> u32 cluster_num | Describes the Cluster number. If there are vertices in 1 shape to which a Cluster has not been assigned, please register them as 1 Cluster, assigning them Cluster(0).
> u32 cluster_tri_num | Describes the ClusterTri number.
> Cluster | Registers the set of vertices for a given node as a Cluster.
> ClusterTri | Displays 1 polygon using the vertices that belong to a Cluster in ClusterShape.

> Go to the data chunk

(3) Cluster

> u32 cluster_tag | Describes the tags of Cluster. Please set the tags shown below.
>     TAG_CLUSTER        0x00280110
> u32 this_cluster_index | Describes the index number for the Cluster in this ClusterShape.
> u32 cluster_size | Describes the Cluster byte size.
> u32 cluster_name_index | Specifies this Cluster name with the index number in NameList.
> u32 kind_of_transform_node | The tag shown below describes the type of node that is influenced by the Cluster.
>     TAG_OBJ_LIST            0x00020000
> For an external reference, please describe with 0xffffffff.
> u32 transform_node_index | Describes the index number of the node that is influenced by the Cluster. For an external reference, please describe with 0xffffffff.
> u32 external_transform_obj_file_name_index | If the Obj that is influenced by the Cluster references an external file, that file name is described with the ExternalNameList index number. Please do not include the directory name etc. when describing this file name. If there is no external reference, please describe with 0xffffffff.
> u32 external_transform_obj_name_index | If the Obj that is influenced by the Cluster references an external file, that Obj name is described with the ExternalNameList index number. If there is no external reference, please describe with 0xffffffff.
> u32 cluster_vtx_group_index | Describes the index number for the VtxGroup specifying the vertex coordinates in this Cluster.
> u32 cluster_vtx_nv_group_index | Describes the index number for the VtxNvGroup specifying the normal vectors of the vertices in this Cluster.
> u32 cluster_tri_nv_group_index | Describes the index number for the TriNvGroup specifying the normal vectors of the polygons in this Cluster.
> u32 cluster_vtx_color_group_index | Describes the index number for the VtxColorGroup specifying the colors of the vertices in this Cluster.
> u32 cluster_tri_color_group_index | Describes the index number for the TriNvGroup specifying the colors of the polygons in this Cluster.
> u32 cluster_st_group_index | Describes the index number for the StGroup specifying the ST values of the vertices in this Cluster.

> Go to the data chunk

(4) ClusterTri

> u32 cluster_tri_tag | Describes the tags of ClusterTri. Please set the tags shown below.
>     TAG_CLUSTER_TRI        0x00280180
> u32 this_cluster_tri_index | Describes the ClusterTri index number.
> u32 cluster_tri_size | Describes the ClusterTri byte size.
> u32 kind_of_cluster_for_tri | The tag shown below describes the type of Cluster used in tri_nv_index and tri_color_index.
>     TAG_CLUSTER        0x00280110
> u32 cluster_index_for_tri | Describes the index number of the Cluser used in tri_nv_index and tri_color_index.
> u32 tri_nv_index | Describes the index number of the normal vectors for this triangle. If polygons with four or more sides are to be automatically divided with the CG tool, please averaging the normal vectors of the vertices and output identical data for the normal vectors of the resulting triangles.
> u32 tri_color_index | Specifies the color of this triangle. If polygons with four or more sides are to be automatically divided with the CG tool, please output identical data for the colors of the resulting triangles.
> ClusterVtx | This is the ClusterVtx area. Describes the Vtx comprising this triangle.

> Go to the data chunk

(5) ClusterVtx

> u32 kind_of_cluster | The tag shown below describes the type of Cluster to which this vertex belongs.
>     TAG_CLUSTER        0x00280110
> u32 cluster_index | Describes the index number of the Cluster.
> u32 vtx_index | Describes the index number of the vertex.
> u32 st_index | Describes the index number of the ST value of the vertex.
> u32 vtx_nv_index | Describes the index number of the normal vector of the vertex. Output so it is identical to vtx_index.
> u32 vtx_color_index | Describes the inex number for the color of the vertex.

> Go to the data chunk