OBD:PLEA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
(duh)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> PLEA File
{{OBD_File_Header|align=center|type=PLEA|prev=OTLF|next=PNTA|name=Plane Equation Array|family=Level|onistuff=plea}}
 
----
 
<CENTER>[[OBD:OTLF|<==]] <FONT SIZE=5>PLEA File</FONT> [[OBD:PNTA|==>]]<BR>
<FONT SIZE=2>Plane Equation Array - Level File</FONT></CENTER>
 


http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/plea_a.gif
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/plea_a.gif


 
{|{{OBDtable}}
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
|align=center|
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{|{{OBDtable}}
| WIDTH=15% | <B>Hex</B>
|-BGCOLOR="#FFDDBB"
| WIDTH=15% | <B>Translation</B>
! WIDTH=15% | <B>Hex</B>
| WIDTH=70% | <B>Meaning</B>
! WIDTH=15% | <B>Translation</B>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
! WIDTH=70% | <B>Meaning</B>
|-
| BGCOLOR="#FF0000" | 01 41 02 00
| BGCOLOR="#FF0000" | 01 41 02 00
| 577
| 577
| ALIGN=LEFT | 00577-.PLEA
| ALIGN=LEFT | 00577-.PLEA
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|-
| BGCOLOR="#FFFF00" | 01 00 00 06
| BGCOLOR="#FFFF00" | 01 00 00 06
| 3
| 3
| ALIGN=LEFT | level 3
| ALIGN=LEFT | level 3
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|-
| BGCOLOR="#00FF00" | AD DE
| BGCOLOR="#00FF00" | AD DE
| dead
| dead
| ALIGN=LEFT | not used
| ALIGN=LEFT | not used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|-
| BGCOLOR="#00FFFF" | F2 34 00 00
| BGCOLOR="#00FFFF" | F2 34 00 00
| 13554
| 13554
| ALIGN=LEFT | 13554 packages follow (one package is edged in black)
| ALIGN=LEFT | 13554 packages follow (first package outlined in black)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
|-
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
| BGCOLOR="#000000" COLSPAN=3 | <FONT COLOR="#FFFFFF">First package (i.e., plane equation) follows</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|-
| BGCOLOR="#FFC8C8" | 00 00 00 00
| BGCOLOR="#FFC8C8" | 00 00 00 00
| 0.000000
| 0.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | first coefficient of the plane equation
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|-
| BGCOLOR="#FFFFC8" | 00 00 00 00
| BGCOLOR="#FFFFC8" | 00 00 00 00
| 0.000000
| 0.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | second coefficient of the plane equation
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|-
| BGCOLOR="#C8FFC8" | 00 00 80 3F
| BGCOLOR="#C8FFC8" | 00 00 80 3F
| 1.000000
| 1.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | third coefficient of the plane equation
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|-
| BGCOLOR="#C8FFFF" | 00 00 19 44
| BGCOLOR="#C8FFFF" | 00 00 19 44
| 612.000000
| 612.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | fourth coefficient of the plane equation
|}
|}
|}
;Plane equation
:The canonical equation for a [http://mathworld.wolfram.com/Plane.html plane] in 3D is :
::a * x + b * y + c * z + d = 0
:where (a, b, c, d) are 4 real numbers. The plane is the set of points (x, y, z) verifying that equation.
:It is likely that the four floats in one of a PLEA's packages are exactly the (a, b, c, d) of the above definition.
::In that case, the first package of the above example defines the plane (0 * x + 0 * y + 1 * z + 612 = 0), i.e., the vertical plane z = -612.
:It is possible, however, that the definition used is different, e.g. : a * x + b * y + c * z = d .
::In that case, the first package of the above example defines the plane (0 * x + 0 * y + 1 * z = 612), i.e., the vertical plane z = 612.


 
----
<HR>
{{OBD_File_Footer|align=center|type=PLEA|prev=OTLF|next=PNTA|name=Plane Equation Array|family=Level|onistuff=plea}}
<CENTER>[[OBD:OTLF|<==]] <B>PLEA File</B> [[OBD:PNTA|==>]]</CENTER>
<HR>
 
 
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> PLEA File

Revision as of 22:28, 21 October 2006

ONI BINARY DATA
OTLF << Other file types >> PNTA
PLEA : Plane Equation Array
switch to XML:PLEA page
Overview @ Oni Stuff
OBD.png

plea_a.gif

Hex Translation Meaning
01 41 02 00 577 00577-.PLEA
01 00 00 06 3 level 3
AD DE dead not used
F2 34 00 00 13554 13554 packages follow (first package outlined in black)
First package (i.e., plane equation) follows
00 00 00 00 0.000000 first coefficient of the plane equation
00 00 00 00 0.000000 second coefficient of the plane equation
00 00 80 3F 1.000000 third coefficient of the plane equation
00 00 19 44 612.000000 fourth coefficient of the plane equation
Plane equation
The canonical equation for a plane in 3D is :
a * x + b * y + c * z + d = 0
where (a, b, c, d) are 4 real numbers. The plane is the set of points (x, y, z) verifying that equation.
It is likely that the four floats in one of a PLEA's packages are exactly the (a, b, c, d) of the above definition.
In that case, the first package of the above example defines the plane (0 * x + 0 * y + 1 * z + 612 = 0), i.e., the vertical plane z = -612.
It is possible, however, that the definition used is different, e.g. : a * x + b * y + c * z = d .
In that case, the first package of the above example defines the plane (0 * x + 0 * y + 1 * z = 612), i.e., the vertical plane z = 612.

ONI BINARY DATA
OTLF << Other file types >> PNTA
PLEA : Plane Equation Array
Level file