43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
|
function data() return {
|
||
|
animations = {
|
||
|
open_doors = {
|
||
|
type = "KEYFRAME",
|
||
|
params = {
|
||
|
origin = { 0, 0, 0 },
|
||
|
keyframes = {
|
||
|
{ time = 0,
|
||
|
rot = { 0, 0, 0 },
|
||
|
transl = { 0, 0, 0 }
|
||
|
|
||
|
}, {
|
||
|
time = 100,
|
||
|
rot = { 0, 0, 0 },
|
||
|
transl = { -0.1, 0, 0 }
|
||
|
|
||
|
},
|
||
|
},
|
||
|
|
||
|
|
||
|
},
|
||
|
|
||
|
|
||
|
},
|
||
|
},
|
||
|
matConfigs = { { 0, }, },
|
||
|
subMeshes = { {
|
||
|
indices = {
|
||
|
normal = { count = 192, offset = 2304, },
|
||
|
position = { count = 192, offset = 2496, },
|
||
|
tangent = { count = 192, offset = 2688, },
|
||
|
uv0 = { count = 192, offset = 2880, },
|
||
|
},
|
||
|
materials = { "vehicle/train/ep20_light.mtl" },
|
||
|
}, },
|
||
|
vertexAttr =
|
||
|
{
|
||
|
normal = { count = 576, numComp = 3, offset = 0, },
|
||
|
position = { count = 576, numComp = 3, offset = 576, },
|
||
|
tangent = { count = 768, numComp = 4, offset = 1152, },
|
||
|
uv0 = { count = 384, numComp = 2, offset = 1920, },
|
||
|
},
|
||
|
} end
|