50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
function data()
|
|
return {
|
|
animations = {
|
|
rot_g7 = {
|
|
type = "KEYFRAME",
|
|
params = {
|
|
origin = {
|
|
0, 0, 0,
|
|
},
|
|
keyframes = {
|
|
{
|
|
time = 0,
|
|
rot = { 0.0, 0.0, 0.0 },
|
|
transl = { 0.0, 0.0, 0.0 }
|
|
}, {
|
|
time = 1400,
|
|
rot = { 0.0, -29.94, 0.0 },
|
|
transl = { 0.0, 0.0, 0.0 }
|
|
},{
|
|
time = 4200,
|
|
rot = { 0.0, 28.844, 0.0 },
|
|
transl = { 0.0, 0.0, 0.0 }
|
|
},{
|
|
time = 5600,
|
|
rot = { 0.0, .0, 0.0 },
|
|
transl = { 0.0, 0.0, 0.0 }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
},
|
|
matConfigs = { { 0, }, },
|
|
subMeshes = { {
|
|
indices = {
|
|
normal = { count = 1056, offset = 12672, },
|
|
position = { count = 1056, offset = 13728, },
|
|
tangent = { count = 1056, offset = 14784, },
|
|
uv0 = { count = 1056, offset = 15840, },
|
|
},
|
|
materials = { "vehicle/train/IS20-16.mtl" },
|
|
}, },
|
|
vertexAttr =
|
|
{
|
|
normal = { count = 3168, numComp = 3, offset = 0, },
|
|
position = { count = 3168, numComp = 3, offset = 3168, },
|
|
tangent = { count = 4224, numComp = 4, offset = 6336, },
|
|
uv0 = { count = 2112, numComp = 2, offset = 10560, },
|
|
},
|
|
} end |