Nintendo Confidential

11. TexImg Node


(1) TexImg Node Description (English)

u32 mipmap_max_level When MipMap is used, the MipMap image is stored in the TexImgData area and the total number of levels is specified here.

If MipMap is not used, please specify with the following flag:


NIFF2_NO_MIPMAP	0x00000000

The maximum value for MipMap levels is specified with the following flag. A higher value than this cannot be previewed by N64.

NIFF2_MIPMAP_MAX_LEVEL_MAX	0x00000007

In addition, the value of mipmap_max_level must be set greater than the value of TexNode -> mipmap_level.
u32 mipmap_img_offset The offset for each level of the MipMap image stored in the TexImgData area is specified in bytes. When MipMap is used, the texture image of each level is stored in the TexImgData area in order, starting from level 0.

mipmap_img_offset(0) is the offset value of the Level 1's MipMap image. There is no data saving space for the Level 0 because the offset value of the Level 0 is always zero.

This field is not specified when MipMap is not used.

See Data Chunk

Back to Index


Copyright 1998, 1999 NINTENDO Co., Ltd. All rights reserved.
Copyright 1998, 1999 MONEGI CORPORATION All rights reserved.