- Joined
- Jul 17, 2011
- Messages
- 1,863
ive been messing around with model rendering and so far everything went well until i got to the animation part. i was looking at the mdl of a certain model and concluded that part of its animation data is this stuff
so im curious about a few of these things here:
a. are the numbers before the brackets indicators of the time since the start of the animation?
b. what are the numbers inside the brackets for
c. what is intan and outtan for and what are the numbers inside of those brackets for
i figured these numbers translate the vertices attached to "Bone_Pelvis" but why is there a set of 4 numbers inside the brackets
it would be great if u could link me to some tutorials about this stuff i want to know how the animation is read from this file and applied to the model to make it "move"
Bone "Bone_Pelvis" {
ObjectId 2,
Parent 22,
Rotation 24 {
Hermite,
133: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.187143, 0.982333 },
OutTan { 0, 0, 0.187143, 0.982333 },
134: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.147492, 0.989063 },
OutTan { 0, 0, 0.147492, 0.989063 },
1633: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.15059, 0.988596 },
OutTan { 0, 0, 0.15059, 0.988596 },
1800: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.15059, 0.988596 },
OutTan { 0, 0, 0.15059, 0.988596 },
1800: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.147492, 0.989063 },
OutTan { 0, 0, 0.147492, 0.989063 },
4467: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.15059, 0.988596 },
OutTan { 0, 0, 0.15059, 0.988596 },
4633: { 0, 0, 0.148269, 0.988947 },
InTan { 0, 0, 0.14827, 0.988947 },
OutTan { 0, 0, 0.14827, 0.988947 },
14133: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.15059, 0.988596 },
OutTan { 0, 0, 0.15059, 0.988596 },
14134: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.14788, 0.989005 },
OutTan { 0, 0, 0.14788, 0.989005 },
14567: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
17467: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.14788, 0.989005 },
OutTan { 0, 0, 0.14788, 0.989005 },
18133: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.15059, 0.988596 },
OutTan { 0, 0, 0.15059, 0.988596 },
18300: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
20167: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
23200: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
24333: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
25467: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
27667: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
183133: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.184835, 0.98277 },
OutTan { 0, 0, 0.184835, 0.98277 },
184833: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
186600: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
191333: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
192233: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
193133: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
}
GeosetId 0,
GeosetAnimId None,
}
ObjectId 2,
Parent 22,
Rotation 24 {
Hermite,
133: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.187143, 0.982333 },
OutTan { 0, 0, 0.187143, 0.982333 },
134: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.147492, 0.989063 },
OutTan { 0, 0, 0.147492, 0.989063 },
1633: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.15059, 0.988596 },
OutTan { 0, 0, 0.15059, 0.988596 },
1800: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.15059, 0.988596 },
OutTan { 0, 0, 0.15059, 0.988596 },
1800: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.147492, 0.989063 },
OutTan { 0, 0, 0.147492, 0.989063 },
4467: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.15059, 0.988596 },
OutTan { 0, 0, 0.15059, 0.988596 },
4633: { 0, 0, 0.148269, 0.988947 },
InTan { 0, 0, 0.14827, 0.988947 },
OutTan { 0, 0, 0.14827, 0.988947 },
14133: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.15059, 0.988596 },
OutTan { 0, 0, 0.15059, 0.988596 },
14134: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.14788, 0.989005 },
OutTan { 0, 0, 0.14788, 0.989005 },
14567: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
17467: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.14788, 0.989005 },
OutTan { 0, 0, 0.14788, 0.989005 },
18133: { 0, 0, 0.149816, 0.988714 },
InTan { 0, 0, 0.15059, 0.988596 },
OutTan { 0, 0, 0.15059, 0.988596 },
18300: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
20167: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
23200: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
24333: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
25467: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
27667: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
183133: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.184835, 0.98277 },
OutTan { 0, 0, 0.184835, 0.98277 },
184833: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
186600: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
191333: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
192233: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
193133: { 0, 0, 0.148267, 0.988947 },
InTan { 0, 0, 0.148267, 0.988947 },
OutTan { 0, 0, 0.148267, 0.988947 },
}
GeosetId 0,
GeosetAnimId None,
}
so im curious about a few of these things here:
a. are the numbers before the brackets indicators of the time since the start of the animation?
b. what are the numbers inside the brackets for
c. what is intan and outtan for and what are the numbers inside of those brackets for
i figured these numbers translate the vertices attached to "Bone_Pelvis" but why is there a set of 4 numbers inside the brackets
it would be great if u could link me to some tutorials about this stuff i want to know how the animation is read from this file and applied to the model to make it "move"