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

### 3-18. CamList

#### (2)Camエリア

u32 | cam_tag
u32 | this_cam_index
u32 | cam_size
u32 | cam_name_index
u32 | cam_type
float | cam_near_clip
float | cam_far_clip
float | cam_right_clip
float | cam_left_clip
float | cam_top_clip
float | cam_bottom_clip
float | cam_fovy
float | cam_aspect
float | cam_scale
u32 | cam_lookat_obj
u32 | cam_eye_obj
u32 | cam_up_obj
u32 | nintendo_extension_block_size
u32 | user_extension_block_size
NintendoExtensionBlock
UserExtensionBlock

図　Camエリアメモリマップ

u32 cam_tag | Tag indicating Cam
    TAG_CAM 0x000e0100
u32 this_cam_index | Index number of Cam
u32 cam_size | Size of Cam
u32 cam_name_index | Index number of camera name in NameList
u32 cam_type | Specify camera type. The followings are currently defined.
    CAM_TYPE_PERSP  0x00000000
    CAM_TYPE_ORTHO  0x00000001
CAM_TYPE_PERSP is perspective camera. CAM_TYPE_ORTHO is ortho camera.
float cam_near_clip | near clipping planeクリッピングプレーン
float cam_far_clip | far clipping plane
float cam_right_clip | right clipping plane
float cam_left_clip | left clipping plane
float cam_top_clip | top clipping plane
float cam_bottom_clip | bottomクリッピングプレーン
float cam_fovy | fovy値
float cam_aspect | aspect値
flaot cam_scale | scale値
u32 cam_lookat_obj | Link point of fixation of camera to object. Describe index of ObjList
u32 cam_eye_obj | Link point of view to object. Describe index of ObjList.
u32 cam_up_obj | Link camera's upward vector to object. Describe index of ObjList.
u32 nintendo_extension_block_size | 任天堂拡張ブロックサイズ
u32 user_extension_block_size | ユーザー拡張ブロックサイズ
NintendoExtensionBlock | 任天堂拡張ブロック
UserExtensionBlock | ユーザー拡張ブロック

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

目次へ次へ