Game Development Reference
In-Depth Information
MOTION
Frames: 22
Frame Time: 0.033333
-5.59 39.43 -41.18 1.01 -1.24 -4.17 -9.62 30.14 ...
-5.59 40.23 -37.53 1.89 -0.09 -5.66 -13.75 28.31 ...
-5.52 40.60 -33.76 1.68 0.88 -5.73 -15.61 26.12 ...
-5.41 40.36 -29.91 0.34 1.12 -4.58 -15.14 24.38 ...
-5.23 39.50 -26.02 -1.42 0.26 -3.17 -13.66 23.81 ...
-5.00 38.27 -22.20 -2.25 -1.38 -2.35 -13.14 24.44 ...
-4.76 37.16 -18.58 -1.42 -2.91 -2.23 -14.53 25.73 ...
-4.54 36.51 -15.17
0.14 -3.53 -2.53 -16.24 26.61 ...
-4.35 36.41 -11.82
0.93 -3.37 -2.82 -16.31 27.12 ...
-4.22 36.67
-8.40
0.81 -3.23 -2.67 -14.83 28.41 ...
-4.15 36.82
-4.88
0.50 -3.26 -2.33 -12.87 29.56 ...
-4.16 36.86
-1.27
0.09 -3.43 -1.89 -10.65 30.58 ...
-4.23 36.81
2.40 -0.38 -3.68 -1.39
-8.32 31.45 ...
-4.34 36.72
6.11 -0.85 -3.98 -0.88
-6.02 32.13 ...
-4.49 36.62
9.85 -1.29 -4.28 -0.42
-3.89 32.59 ...
-4.66 36.55
13.59 -1.66 -4.54 -0.05
-2.07 32.83 ...
-4.85 36.55
17.31 -1.92 -4.68
0.18
-0.69 32.85 ...
-5.03 36.64
20.98 -2.03 -4.67
0.22
0.12 32.71 ...
-5.20 36.88
24.60 -1.95 -4.43
0.01
0.21 32.43 ...
-5.35 37.30
28.14 -1.65 -3.91 -0.48
-0.60 32.05 ...
-5.47 37.93
31.57 -1.05 -3.06 -1.31
-2.53 31.62 ...
-5.55 38.75
35.00
0.01 -2.04 -2.72
-6.05 31.01 ...
Following the token HIERARCHY we read the ROOT object for the file.
When parsing the file we can retain the name of this element by reading
the string that follows ROOT. Everything that follows belonging to ROOT
is contained within matching braces. The first line after the opening brace
gives the offset for this element and then the next line gives the channels
for this element. In my experience this will be six channels for a ROOT
element and three for a JOINT element, but this is from files I have worked
with rather than from a full specification for the data format. The order of
the rotation channels can differ and should be checked. Within the braces
of the ROOT element can be any number of JOINT elements, which in
turn have a name, OFFSET and CHANNEL specification. JOINT
elements can contain an unlimited number of nested sub JOINT
elements.
After the HIERARCHY section you will find the MOTION section. The
token MOTION is followed immediately by the number of frames in the
Search Nedrilad ::




Custom Search