OBD:TRAM/raw0x13C: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> [[OBD:TRAM|TRAM File]] >> extent part
<CENTER>[[OBD:TRAM/raw0x38|sound part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - extent part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x0C|y-position part]]</CENTER>
 
 
<CENTER>[[OBD:TRAM/raw0x38|<==]] <FONT SIZE=5>TRAM - extent part</FONT> [[OBD:TRAM/raw0x0C|==>]]</CENTER>




Line 8: Line 5:




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/tram_r13.gif
[[image:tram_r13.gif]]




{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=1 BGCOLOR="#000000"
{{Table}}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDth}}
| WIDTH=15% | <B>Hex</B>
{{OBDtrBK}}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x00 | int16  |FFC8C8| 05 00 | 5     | frame to which this extent coresponds }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtr| 0x02 | int16  |FFFFC8| EB F3 | -3093 | extent angle }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
{{OBDtr| 0x04 | uint16 |C8FFC8| EF 02 | 751   | extent length }}
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows one extent block.</FONT>
{{OBDtr| 0x06 | int16  |C8FFFF| 00 00 | 0     | always 0; probably extent offset along direction given by angle }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x08 | int16  |FFC8FF| A1 03 | 929   | extent min Y }}
| BGCOLOR="#FFC8C8" | 05 00
{{OBDtr| 0x0A | int16  |FFC800| 96 04 | 1174 | extent max Y }}
| 5
| ALIGN=LEFT | looks like a pass through number
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | EB F3
| -3093
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | EF 02
| 751
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | 00 00
| 0
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | A1 03
| 929
| ALIGN=LEFT | unknown
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | 96 04
| 1174
| ALIGN=LEFT | unknown
|}
|}




<HR>
Note:
<CENTER>[[OBD:TRAM/raw0x38|<==]] <B>TRAM - extent part</B> [[OBD:TRAM/raw0x0C|==>]]</CENTER>
Values at 0x04, 0x06, 0x08 and 0x0A need to be multiplied by 0.01 to obtain the real values.
<HR>
The angle value at 0x02 needs to be multiplied by 360/65535 to get the value in degrees.
 


<CENTER>[[OBD:TRAM/raw0x13C|extent part]] &nbsp;<<&nbsp; '''[[OBD:TRAM|TRAM]] - y-position part''' &nbsp;>>&nbsp; [[OBD:TRAM/raw0x10|x-z-position part]]</CENTER>


[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> [[OBD:TRAM|TRAM File]] >> extent part
{{OBD}}

Latest revision as of 00:26, 18 July 2010

sound part  <<  TRAM - extent part  >>  y-position part


This part belongs to the 01865-KONCOMpunch_heavy.TRAM file.


Tram r13.gif


Offset Type Raw Hex Value Description
First element (black outline)
0x00 int16 05 00 5 frame to which this extent coresponds
0x02 int16 EB F3 -3093 extent angle
0x04 uint16 EF 02 751 extent length
0x06 int16 00 00 0 always 0; probably extent offset along direction given by angle
0x08 int16 A1 03 929 extent min Y
0x0A int16 96 04 1174 extent max Y


Note: Values at 0x04, 0x06, 0x08 and 0x0A need to be multiplied by 0.01 to obtain the real values. The angle value at 0x02 needs to be multiplied by 360/65535 to get the value in degrees.


extent part  <<  TRAM - y-position part  >>  x-z-position part