OBD:TXCA: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
m (changed family)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> TXCA File
{{OBD_File_Header | type=TXCA | prev=TXAN | next=TXMA | name=Texture Coordinate Array | family=General | align=center}}




<CENTER>[[OBD:TXAN|<==]] <FONT SIZE=5>TXCA File</FONT> [[OBD:TXMA|==>]]<BR>
[[image:txca_a.gif]]
<FONT SIZE=2>Texture Coordinate Array - Level and Character File</FONT></CENTER>




http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/txca_a.gif
{{Table}}
 
{{OBD_Table_Header}}
 
|- ALIGN=CENTER VALIGN=TOP
{| BORDER=1 WIDTH=100% CELLPADDING=2 CELLSPACING=0
{{OBDtr| 0x00 | res_id  |FF0000| 01 ED 00 00 | 237     | 00237-.TXCA }}
|- ALIGN=CENTER BGCOLOR="#FFDDBB"
{{OBDtr| 0x04 | lev_id  |FFFF00| 01 00 00 06 | 3       | level 3 }}
| WIDTH=15% | <B>Hex</B>
{{OBDtr| 0x08 | char[20] |00FF00| AD DE       | dead     | unused }}
| WIDTH=15% | <B>Translation</B>
{{OBDtr| 0x1C | int32    |00FFFF| 10 00 00 00 | 16       | array size }}
| WIDTH=70% | <B>Meaning</B>
{{OBDtrBK}}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x00 | float    |FFC8C8| 44 DF 7F 3F | 0.999501 | x-coordinate }}
| BGCOLOR="#FF0000" | 01 ED 00 00
{{OBDtr| 0x04 | float    |FFFFC8| 42 DF 7F 3F | 0.999500 | y-coordinate }}
| 237
{{OBDtrBK|Space for 60 more texture coordinates used at runtime}}
| ALIGN=LEFT | 00237-.TXCA
{{OBDtr| 0x00 | float    |FFC8C8| | | x-coordinate }}
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
{{OBDtr| 0x04 | float    |FFFFC8| | | y-coordinate }}
| BGCOLOR="#FFFF00" | 01 00 00 06
| 3
| ALIGN=LEFT | level 3
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | AD DE
| dead
| ALIGN=LEFT | not used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FFFF" | 10 00 00 00
| 16
| ALIGN=LEFT | 16 packages follow (one package is edged in black)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#000000"
| COLSPAN=3 | <FONT SIZE=2 COLOR="#FFFFFF">Below follows the first package.</FONT>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 44 DF 7F 3F
| 0.999501
| ALIGN=LEFT | x-coordinate
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | 42 DF 7F 3F
| 0.999500
| ALIGN=LEFT | y-coordinae
|}
|}




<HR>
{{OBD_File_Footer | type=TXCA | prev=TXAN | next=TXMA | name=Texture Coordinate Array | family=General}}
<CENTER>[[OBD:TXAN|<==]] <B>TXCA File</B> [[OBD:TXMA|==>]]</CENTER>
<HR>
 


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

Latest revision as of 01:58, 8 December 2023

ONI BINARY DATA
TXAN << Other file types >> TXMA
TXCA : Texture Coordinate Array
switch to XML:TXCA page
Overview @ Oni Stuff
OBD.png


Txca a.gif


Offset Type Raw Hex Value Description
0x00 res_id 01 ED 00 00 237 00237-.TXCA
0x04 lev_id 01 00 00 06 3 level 3
0x08 char[20] AD DE dead unused
0x1C int32 10 00 00 00 16 array size
First element (black outline)
0x00 float 44 DF 7F 3F 0.999501 x-coordinate
0x04 float 42 DF 7F 3F 0.999500 y-coordinate
Space for 60 more texture coordinates used at runtime
0x00 float x-coordinate
0x04 float y-coordinate


ONI BINARY DATA
TXAN << Other file types >> TXMA
TXCA : Texture Coordinate Array
General file