OBD:OBOA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
No edit summary
Line 103: Line 103:
| BGCOLOR="#00C8FF" | 00 00 4F 43
| BGCOLOR="#00C8FF" | 00 00 4F 43
| 207.000000
| 207.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | initial x-position
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00C8FF" | 1F 05 F6 42
| BGCOLOR="#00C8FF" | 1F 05 F6 42
| 123.010002
| 123.010002
| ALIGN=LEFT | unknown
| ALIGN=LEFT | initial y-position (height)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00C8FF" | 98 7F CC C3
| BGCOLOR="#00C8FF" | 98 7F CC C3
| -408.996826
| -408.996826
| ALIGN=LEFT | unknown
| ALIGN=LEFT | initial z-position
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | F2 04 35 3F
| BGCOLOR="#C80040" | F2 04 35 3F
| 0.707107
| 0.707107
| ALIGN=LEFT | unknown
| ALIGN=LEFT | x component of the initial rotation quaternion
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | 74 BC 82 B9
| BGCOLOR="#C80040" | 74 BC 82 B9
| -0.000249
| -0.000249
| ALIGN=LEFT | unknown
| ALIGN=LEFT | y component of the initial rotation quaternion
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | 74 BC 82 B9
| BGCOLOR="#C80040" | 74 BC 82 B9
| -0.000249
| -0.000249
| ALIGN=LEFT | unknown
| ALIGN=LEFT | z component of the initial rotation quaternion
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | F3 04 35 3F
| BGCOLOR="#C80040" | F3 04 35 3F
| 0.707107
| 0.707107
| ALIGN=LEFT | unknown
| ALIGN=LEFT | w component of the initial rotation quaternion
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | 00 00 80 3F
| BGCOLOR="#C8C800" | 00 00 80 3F
| 1.000000
| 1.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | initial scale of the object
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | FC FF 7F 3F
| BGCOLOR="#FFCD96" | FC FF 7F 3F
| 0.999999
| 0.999999
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m11 element of the initial position transform matrix
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | 00 00 00 00
| BGCOLOR="#FFCD96" | 00 00 00 00
| 0.000000
| 0.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m21 element of the initial position transform matrix
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | 8A E3 38 BA
| BGCOLOR="#FFCD96" | 8A E3 38 BA
| -0.000705
| -0.000705
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m31 element of the initial position transform matrix
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | 8A E3 38 BA
| BGCOLOR="#FFCD96" | 8A E3 38 BA
| -0.000705
| -0.000705
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m12 element of the initial position transform matrix
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | 2E DE 4C 32
| BGCOLOR="#FFCD96" | 2E DE 4C 32
| 1.192488e-8
| 1.192488e-8
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m22 element of the initial position transform matrix
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | FC FF 7F BF
| BGCOLOR="#FFCD96" | FC FF 7F BF
| -0.999999
| -0.999999
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m32 element of the initial position transform matrix
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | C9 F5 13 2D
| BGCOLOR="#FFCD96" | C9 F5 13 2D
| 8.410557e-12
| 8.410557e-12
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m13 element of the initial position transform matrix
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | 00 00 80 3F
| BGCOLOR="#FFCD96" | 00 00 80 3F
| 1.000000
| 1.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m23 element of the initial position transform matrix
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C80040" | 2B DE 4C 32
| BGCOLOR="#FFCD96" | 2B DE 4C 32
| 1.192487e-8
| 1.192487e-8
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m33 element of the initial position transform matrix
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFCD96" | 00 00 4F 43
| BGCOLOR="#FFCD96" | 00 00 4F 43
| 207.000000
| 207.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m14 element of the initial position transform matrix (x-position)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFCD96" | 1F 05 F6 42
| BGCOLOR="#FFCD96" | 1F 05 F6 42
| 123.000000
| 123.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m24 element of the initial position transform matrix (y-position, height)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFCD96" | 98 7F CC C3
| BGCOLOR="#FFCD96" | 98 7F CC C3
| -408.996826
| -408.996826
| ALIGN=LEFT | unknown
| ALIGN=LEFT | m34 element of the initial position transform matrix (z-position)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8C864" COLSPAN=2 | <TT>object_door_1</TT>
| BGCOLOR="#C8C864" COLSPAN=2 | <TT>object_door_1</TT>
Line 188: Line 188:
|}
|}


Elements m41, m42, m43, m44 of both transform matrices are missing. m41, m42 and m43 are the projection transform coefficients and they are not needed so they are 0.0 and the m44 element is always 1.0 for a transform matrix. (column major transform matrices like in Open GL, for Direct 3D they need to be transposed)
The initial position transform is used the place the object in the environment. For object that have an animation attached to them this is also the starting position of the animation sequence. The initial x,y and z position value together with the initial rotation quaternion and the initial scale factor contain basically the same information as the initial transform matrix and combining them in a transform matrix should result in the initial transform matrix (less the differences due to floating point computation errors)


<HR>
<HR>

Revision as of 19:07, 28 February 2007

Main Page >> Oni Binary Data >> File Types >> OBOA File


<== OBOA File ==>
Starting Object Array - Level File


oboa_a.gif


Hex Translation Meaning
01 55 02 00 597 00597-.OBOA
01 00 00 06 3 level 3
AD DE dead not used
62 00 98 98 packages follow (one package is edged in black)
Below follows the first package.
01 56 02 00 598 link to 00598-.M3GA
00 00 00 00 not used link to a OBAN file
00 00 00 00 not used link to a ENVP file
00 0 unknown
12 18 unknown
00 0 unknown
00 0 unknown
46 70 unknown
89 137 unknown
00 0 unknown
00 0 unknown
01 1 unknown
00 0 unknown
00 0 unknown
00 0 unknown
00 00 00 00 0 unknown
FF FF 00 00 not used object ID; only used if the object has an OBAN link
00 00 4F 43 207.000000 initial x-position
1F 05 F6 42 123.010002 initial y-position (height)
98 7F CC C3 -408.996826 initial z-position
F2 04 35 3F 0.707107 x component of the initial rotation quaternion
74 BC 82 B9 -0.000249 y component of the initial rotation quaternion
74 BC 82 B9 -0.000249 z component of the initial rotation quaternion
F3 04 35 3F 0.707107 w component of the initial rotation quaternion
00 00 80 3F 1.000000 initial scale of the object
FC FF 7F 3F 0.999999 m11 element of the initial position transform matrix
00 00 00 00 0.000000 m21 element of the initial position transform matrix
8A E3 38 BA -0.000705 m31 element of the initial position transform matrix
8A E3 38 BA -0.000705 m12 element of the initial position transform matrix
2E DE 4C 32 1.192488e-8 m22 element of the initial position transform matrix
FC FF 7F BF -0.999999 m32 element of the initial position transform matrix
C9 F5 13 2D 8.410557e-12 m13 element of the initial position transform matrix
00 00 80 3F 1.000000 m23 element of the initial position transform matrix
2B DE 4C 32 1.192487e-8 m33 element of the initial position transform matrix
00 00 4F 43 207.000000 m14 element of the initial position transform matrix (x-position)
1F 05 F6 42 123.000000 m24 element of the initial position transform matrix (y-position, height)
98 7F CC C3 -408.996826 m34 element of the initial position transform matrix (z-position)
object_door_1 name of the object
L3_Gunk.ENV unknown; maybe an old development relict

Elements m41, m42, m43, m44 of both transform matrices are missing. m41, m42 and m43 are the projection transform coefficients and they are not needed so they are 0.0 and the m44 element is always 1.0 for a transform matrix. (column major transform matrices like in Open GL, for Direct 3D they need to be transposed)

The initial position transform is used the place the object in the environment. For object that have an animation attached to them this is also the starting position of the animation sequence. The initial x,y and z position value together with the initial rotation quaternion and the initial scale factor contain basically the same information as the initial transform matrix and combining them in a transform matrix should result in the initial transform matrix (less the differences due to floating point computation errors)


<== OBOA File ==>


Main Page >> Oni Binary Data >> File Types >> OBOA File