/*************************************************************************************************** Convert from NINGEN (j_camera) ****************************************************************************************************/ #define j_camera_AMB_SCALE 0.5 #define ShapeColor_j_camera(R,G,B) {{R*j_camera_AMB_SCALE ,G*j_camera_AMB_SCALE ,B*j_camera_AMB_SCALE ,0 ,R*j_camera_AMB_SCALE ,G*j_camera_AMB_SCALE ,B*j_camera_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_j_camera[] = { ShapeColor_j_camera(255,255,255), ShapeColor_j_camera( 25, 25, 25), ShapeColor_j_camera( 50, 68, 64), ShapeColor_j_camera( 48, 48, 48), }; static Vtx vtx_j_camera_0[] = { { 79, -113, -34, 0, 0, 480, 0, -127, 0, 255}, { 7, -113, 37, 0, 480, 0, 0, -127, 0, 255}, { 7, -113, -34, 0, 0, 0, 0, -127, 0, 255}, { 79, -113, 37, 0, 480, 480, 0, -127, 0, 255}, }; static Vtx vtx_j_camera_1[] = { { 20, -58, -21, 0, 0, 0, 0, 57, -113, 255}, { 66, -58, -21, 0, 0, 0, 0, 57, -113, 255}, { 43, -113, -49, 0, 0, 0, 0, 57, -113, 255}, { 20, -58, -21, 0, 0, 0, -46, 37, -112, 255}, { 43, -113, -49, 0, 0, 0, -46, 37, -112, 255}, { 7, -113, -34, 0, 0, 0, -46, 37, -112, 255}, { 20, -58, -21, 0, 0, 0, -112, 37, -45, 255}, { 7, -113, -34, 0, 0, 0, -112, 37, -45, 255}, { -7, -113, 1, 0, 0, 0, -112, 37, -45, 255}, { 20, -58, -21, 0, 0, 0, -114, 55, 0, 255}, { -7, -113, 1, 0, 0, 0, -114, 55, 0, 255}, { 20, -58, 24, 0, 0, 0, -114, 55, 0, 255}, { 79, -113, -34, 0, 0, 0, 46, 37, -112, 255}, { 43, -113, -49, 0, 0, 0, 46, 37, -112, 255}, { 66, -58, -21, 0, 0, 0, 46, 37, -112, 255}, { 66, -58, -21, 0, 0, 0, 113, 57, 0, 255}, { 66, -58, 24, 0, 0, 0, 113, 57, 0, 255}, { 94, -113, 1, 0, 0, 0, 113, 57, 0, 255}, { 66, -58, -21, 0, 0, 0, 111, 37, -47, 255}, { 94, -113, 1, 0, 0, 0, 111, 37, -47, 255}, { 79, -113, -34, 0, 0, 0, 111, 37, -47, 255}, { 94, -113, 1, 0, 0, 0, 112, 37, 46, 255}, { 66, -58, 24, 0, 0, 0, 112, 37, 46, 255}, { 79, -113, 37, 0, 0, 0, 112, 37, 46, 255}, { 79, -113, 37, 0, 0, 0, 46, 37, 112, 255}, { 66, -58, 24, 0, 0, 0, 46, 37, 112, 255}, { 43, -113, 52, 0, 0, 0, 46, 37, 112, 255}, { 66, -58, 24, 0, 0, 0, 0, 57, 113, 255}, { 20, -58, 24, 0, 0, 0, 0, 57, 113, 255}, { 43, -113, 52, 0, 0, 0, 0, 57, 113, 255}, { 43, -113, 52, 0, 0, 0, -46, 37, 112, 255}, { 20, -58, 24, 0, 0, 0, -46, 37, 112, 255}, { 7, -113, 37, 0, 0, 0, -46, 37, 112, 255}, { -7, -113, 1, 0, 0, 0, -113, 37, 44, 255}, { 7, -113, 37, 0, 0, 0, -113, 37, 44, 255}, { 20, -58, 24, 0, 0, 0, -113, 37, 44, 255}, { -4, 46, -40, 0, 0, 0, -127, 0, 0, 255}, { -4, -58, 43, 0, 0, 0, -127, 0, 0, 255}, { -4, 46, 43, 0, 0, 0, -127, 0, 0, 255}, { 100, 46, 43, 0, 0, 0, 0, 127, 0, 255}, { 100, 46, -40, 0, 0, 0, 0, 127, 0, 255}, { -4, 46, -40, 0, 0, 0, 0, 127, 0, 255}, { -4, 46, 43, 0, 0, 0, 0, 127, 0, 255}, { -4, -58, -40, 0, 0, 0, -127, 0, 0, 255}, { 100, 46, -40, 0, 0, 0, 0, 0, -127, 255}, { -4, -58, -40, 0, 0, 0, 0, 0, -127, 255}, { -4, 46, -40, 0, 0, 0, 0, 0, -127, 255}, { 100, -58, 43, 0, 0, 0, 0, 0, 127, 255}, { -4, 46, 43, 0, 0, 0, 0, 0, 127, 255}, { -4, -58, 43, 0, 0, 0, 0, 0, 127, 255}, { 100, -58, -40, 0, 0, 0, 0, -127, 0, 255}, { 100, -58, 43, 0, 0, 0, 0, -127, 0, 255}, { -4, -58, 43, 0, 0, 0, 0, -127, 0, 255}, { -4, -58, -40, 0, 0, 0, 0, -127, 0, 255}, { 100, -58, 43, 0, 0, 0, 0, 0, 127, 255}, { 100, 46, 43, 0, 0, 0, 0, 0, 127, 255}, { -4, 46, 43, 0, 0, 0, 0, 0, 127, 255}, { 100, 46, -40, 0, 0, 0, 0, 0, -127, 255}, { 100, -58, -40, 0, 0, 0, 0, 0, -127, 255}, { -4, -58, -40, 0, 0, 0, 0, 0, -127, 255}, { 100, 46, 43, 0, 0, 0, 127, 0, 0, 255}, { 100, -58, -40, 0, 0, 0, 127, 0, 0, 255}, { 100, 46, -40, 0, 0, 0, 127, 0, 0, 255}, { 100, -58, 43, 0, 0, 0, 127, 0, 0, 255}, { 7, -113, -34, 0, 0, 0, 0, -127, 0, 255}, { 7, -113, 37, 0, 0, 0, 0, -127, 0, 255}, { -7, -113, 1, 0, 0, 0, 0, -127, 0, 255}, { 43, -113, -49, 0, 0, 0, 0, -127, 0, 255}, { 79, -113, -34, 0, 0, 0, 0, -127, 0, 255}, { 94, -113, 1, 0, 0, 0, 0, -127, 0, 255}, { 79, -113, 37, 0, 0, 0, 0, -127, 0, 255}, { 43, -113, 52, 0, 0, 0, 0, -127, 0, 255}, }; static Gfx gfx_j_camera_0[] = { gs_Tani_LoadTextureImage2(front_cam_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, 7), gsSPLight((&light_j_camera[0].l[0]),1 ), gsSPLight((&light_j_camera[0].a ),2 ), gsSPVertex(&vtx_j_camera_0[0], 4, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 3, 1, 0), gsSPEndDisplayList() }; static Gfx gfx_j_camera_1[] = { gsSPLight((&light_j_camera[1].l[0]),1 ), gsSPLight((&light_j_camera[1].a ),2 ), gsSPVertex(&vtx_j_camera_1[0], 15, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 6, 7, 8, 0), gsSP1Triangle( 9,10,11, 0), gsSP1Triangle(12,13,14, 0), gsSPVertex(&vtx_j_camera_1[15], 15, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 6, 7, 8, 0), gsSP1Triangle( 9,10,11, 0), gsSP1Triangle(12,13,14, 0), gsSPVertex(&vtx_j_camera_1[30], 6, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSPLight((&light_j_camera[2].l[0]),1 ), gsSPLight((&light_j_camera[2].a ),2 ), gsSPVertex(&vtx_j_camera_1[36], 14, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 3, 5, 6, 0), gsSP1Triangle( 0, 7, 1, 0), gsSP1Triangle( 8, 9,10, 0), gsSP1Triangle(11,12,13, 0), gsSPVertex(&vtx_j_camera_1[50], 14, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 2, 3, 0), gsSP1Triangle( 4, 5, 6, 0), gsSP1Triangle( 7, 8, 9, 0), gsSP1Triangle(10,11,12, 0), gsSP1Triangle(10,13,11, 0), gsSPLight((&light_j_camera[3].l[0]),1 ), gsSPLight((&light_j_camera[3].a ),2 ), gsSPVertex(&vtx_j_camera_1[64], 8, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 0, 3, 4, 0), gsSP1Triangle( 4, 5, 6, 0), gsSP1Triangle( 7, 1, 6, 0), gsSPEndDisplayList() }; Gfx gfx_j_camera[] = { gsDPPipeSync(), gsDPSetCombineMode(G_CC_MODULATERGB, G_CC_MODULATERGB), gsSPClearGeometryMode(G_SHADING_SMOOTH), gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, 7, 0, 0,0,0, 0,0,0), gsSPTexture(0xffff,0xffff, 0, 0, G_ON), gs_Tani_SetUpTileDescrip(G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 16, 0, 0, G_TX_CLAMP|G_TX_NOMIRROR, 4, G_TX_NOLOD, G_TX_CLAMP|G_TX_NOMIRROR, 4, G_TX_NOLOD), gsSPDisplayList(gfx_j_camera_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPDisplayList(gfx_j_camera_1), gsSPSetGeometryMode(G_SHADING_SMOOTH), gsSPEndDisplayList() };