/*************************************************************************************************** Convert from NINGEN (fingA_1) ****************************************************************************************************/ #define fingA_1_AMB_SCALE 0.5 #define ShapeColor_fingA_1(R,G,B) {{R*fingA_1_AMB_SCALE ,G*fingA_1_AMB_SCALE ,B*fingA_1_AMB_SCALE ,0 ,R*fingA_1_AMB_SCALE ,G*fingA_1_AMB_SCALE ,B*fingA_1_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} } static Lights1 light_fingA_1[] = { ShapeColor_fingA_1(255,255,255), }; static Vtx vtx_fingA_1_0[] = { { 348, 201, -202, 0, 0, -16, 0, 0, -127, 255}, { 348, 0, -202, 0, 0, 990, 0, 0, -127, 255}, { 0, 0, -202, 0, 1702, 990, 0, 0, -127, 255}, { 348, 0, 0, 0, 0, 990, 0, 0, 127, 255}, { 348, 201, 0, 0, 0, -16, 0, 0, 127, 255}, { 0, 201, 0, 0, 1702, -16, 0, 0, 127, 255}, { 0, 0, 0, 0, 1702, 990, 0, 0, 127, 255}, { 348, 201, -202, 0, 0, -16, 127, 0, 0, 255}, { 348, 0, 0, 0, 990, 990, 127, 0, 0, 255}, { 348, 0, -202, 0, 990, -16, 127, 0, 0, 255}, { 348, 201, 0, 0, 0, 990, 127, 0, 0, 255}, { 348, 201, -202, 0, 0, -16, 0, 127, 0, 255}, { 0, 201, -202, 0, 1702, -16, 0, 127, 0, 255}, { 348, 201, 0, 0, 0, 990, 0, 127, 0, 255}, { 0, 201, 0, 0, 1702, 990, 0, 127, 0, 255}, { 348, 0, -202, 0, 0, -16, 0, -127, 0, 255}, { 348, 0, 0, 0, 0, 990, 0, -127, 0, 255}, { 0, 0, 0, 0, 1702, 990, 0, -127, 0, 255}, { 0, 201, -202, 0, 1702, -16, 0, 0, -127, 255}, { 348, 201, -202, 0, 0, -16, 0, 0, -127, 255}, { 0, 0, -202, 0, 1702, 990, 0, 0, -127, 255}, { 0, 0, -202, 0, 1702, -16, 0, -127, 0, 255}, }; static Gfx gfx_fingA_1_0[] = { gs_Tani_LoadTextureImage2(hand_block_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7), gsSPLight((&light_fingA_1[0].l[0]),1 ), gsSPLight((&light_fingA_1[0].a ),2 ), gsSPVertex(&vtx_fingA_1_0[0], 15, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 6, 3, 5, 0), gsSP1Triangle( 7, 8, 9, 0), gsSP1Triangle( 7,10, 8, 0), gsSP1Triangle(11,12,13, 0), gsSP1Triangle(12,14,13, 0), gsSPVertex(&vtx_fingA_1_0[15], 7, 0), gsSP1Triangle( 0, 1, 2, 0), gsSP1Triangle( 3, 4, 5, 0), gsSP1Triangle( 6, 0, 2, 0), gsSPEndDisplayList() }; Gfx gfx_fingA_1[] = { 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, 32, 32, 0, 0, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP|G_TX_NOMIRROR, 5, G_TX_NOLOD), gsSPDisplayList(gfx_fingA_1_0), gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF), gsDPPipeSync(), gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE), gsSPSetGeometryMode(G_SHADING_SMOOTH), gsSPEndDisplayList() };