This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ofp:file_formats:odol [2007-07-04 17:33] snakeman created odol initial page |
ofp:file_formats:odol [2008-07-17 13:07] (current) |
||
---|---|---|---|
Line 76: | Line 76: | ||
<code> | <code> | ||
- | struct Face | + | struct Face |
{ | { | ||
uint Attribs; | uint Attribs; | ||
Line 147: | Line 147: | ||
{ | { | ||
char Name[...] // zero ended string | char Name[...] // zero ended string | ||
- | struct ustruct {...};// size same as char[56]; // unknown value | + | float rotationMatrix[9]; |
+ | float translation[3]; | ||
}; | }; | ||
</code> | </code> | ||
Line 176: | Line 177: | ||
Lempel-Ziv compression | Lempel-Ziv compression | ||
- | Note1. | + | Note1. |
- | Rregardless of method, 4 extra bytes representing the checksum exist at end of the data count. | + | Rregardless of method, 4 extra bytes representing the checksum exist at end of the data count. |
Note2. The compression code is identical to that employed by pbo packed structures. However, unlike pbo's, the size of the compressed data is unknown, only it's ultimate length. The code below fudges it. | Note2. The compression code is identical to that employed by pbo packed structures. However, unlike pbo's, the size of the compressed data is unknown, only it's ultimate length. The code below fudges it. | ||
Line 292: | Line 293: | ||
} | } | ||
</code> | </code> | ||
+ |