77 lines
3.4 KiB
Plaintext
77 lines
3.4 KiB
Plaintext
/***************************************************************************************************
|
|
Convert from NINGEN (fingB_1)
|
|
****************************************************************************************************/
|
|
#define fingB_1_AMB_SCALE 0.5
|
|
#define ShapeColor_fingB_1(R,G,B) {{R*fingB_1_AMB_SCALE ,G*fingB_1_AMB_SCALE ,B*fingB_1_AMB_SCALE ,0 ,R*fingB_1_AMB_SCALE ,G*fingB_1_AMB_SCALE ,B*fingB_1_AMB_SCALE ,0 },{ R, G, B, 0, R, G, B, 0, LIGHT_X, LIGHT_Y, LIGHT_Z, 0} }
|
|
|
|
static Lights1 light_fingB_1[] = {
|
|
ShapeColor_fingB_1(255,255,255),
|
|
};
|
|
|
|
static Vtx vtx_fingB_1_0[] = {
|
|
{ 403, 0, 101, 0, 990, 990, 127, 0, 0, 255},
|
|
{ 403, 0, -100, 0, -16, 990, 127, 0, 0, 255},
|
|
{ 403, 201, 101, 0, 990, -16, 127, 0, 0, 255},
|
|
{ 0, 201, 101, 0, -34, 974, 0, 127, 0, 255},
|
|
{ 403, 201, 101, 0, 1978, 974, 0, 127, 0, 255},
|
|
{ 0, 201, -100, 0, -34, 0, 0, 127, 0, 255},
|
|
{ 403, 201, -100, 0, 1978, 0, 0, 127, 0, 255},
|
|
{ 403, 0, -100, 0, 1978, 0, 0, -127, 0, 255},
|
|
{ 403, 0, 101, 0, 1978, 974, 0, -127, 0, 255},
|
|
{ 0, 0, 101, 0, -34, 974, 0, -127, 0, 255},
|
|
{ 0, 0, -100, 0, -34, 0, 0, -127, 0, 255},
|
|
{ 403, 0, -100, 0, 1982, 990, 0, 0, -127, 255},
|
|
{ 0, 0, -100, 0, 0, 990, 0, 0, -127, 255},
|
|
{ 403, 201, -100, 0, 1982, -16, 0, 0, -127, 255},
|
|
{ 0, 201, -100, 0, 0, -16, 0, 0, -127, 255},
|
|
{ 403, 0, 101, 0, 1982, 990, 0, 0, 127, 255},
|
|
{ 403, 201, 101, 0, 1982, -16, 0, 0, 127, 255},
|
|
{ 0, 201, 101, 0, 0, -16, 0, 0, 127, 255},
|
|
{ 403, 0, -100, 0, -16, 990, 127, 0, 0, 255},
|
|
{ 403, 201, -100, 0, -16, -16, 127, 0, 0, 255},
|
|
{ 403, 201, 101, 0, 990, -16, 127, 0, 0, 255},
|
|
{ 0, 0, 101, 0, 0, 990, 0, 0, 127, 255},
|
|
};
|
|
|
|
static Gfx gfx_fingB_1_0[] = {
|
|
gs_Tani_LoadTextureImage2(hand_block_txt, G_IM_FMT_RGBA, G_IM_SIZ_16b, 32, 32, 0, 7),
|
|
|
|
gsSPLight((&light_fingB_1[0].l[0]),1 ),
|
|
gsSPLight((&light_fingB_1[0].a ),2 ),
|
|
|
|
gsSPVertex(&vtx_fingB_1_0[0], 15, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
gsSP1Triangle( 4, 6, 5, 0),
|
|
gsSP1Triangle( 7, 8, 9, 0),
|
|
gsSP1Triangle(10, 7, 9, 0),
|
|
gsSP1Triangle(11,12,13, 0),
|
|
gsSP1Triangle(12,14,13, 0),
|
|
gsSPVertex(&vtx_fingB_1_0[15], 7, 0),
|
|
gsSP1Triangle( 0, 1, 2, 0),
|
|
gsSP1Triangle( 3, 4, 5, 0),
|
|
gsSP1Triangle( 6, 0, 2, 0),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|
|
Gfx gfx_fingB_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_fingB_1_0),
|
|
|
|
gsSPTexture(0xffff, 0xffff, 0, 0, G_OFF),
|
|
|
|
gsDPPipeSync(),
|
|
gsDPSetCombineMode(G_CC_SHADE, G_CC_SHADE),
|
|
gsSPSetGeometryMode(G_SHADING_SMOOTH),
|
|
gsSPEndDisplayList()
|
|
};
|
|
|