Created
December 29, 2018 19:02
-
-
Save freem/4db2abb3094117c8f32d45b36e1eb7b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AKI polygon format | |
------------------ | |
by S.K. Styles and jordyad (doc by freem) | |
general file format: | |
* header | |
* point/vertex data | |
* face data | |
this format is mad simple | |
[Header] | |
0x00 - Size/Scale | |
0x01 - Number of Points/Vertices | |
0x02 - Number of Faces | |
0x03 - ? (usually 0x00?) | |
0x04 - X point offset | |
0x05 - Y point offset | |
0x06 - Z point offset | |
0x07 - texture map offset (possibly split into nibbles?) | |
[Point/Vertex Data] | |
0x00: X (8 bit) | |
0x01: Y (8 bit) | |
0x02: Z (8 bit) | |
0x03: U? (8 bit) | |
0x04: V? (8 bit) | |
0x05: vertex color? (24 bit) | |
[Face Data] | |
Each face consists of 3 bytes, representing indices into the vertex data. | |
[Other Notes] | |
0x00 - Size/Scale | |
----------------- | |
0x01 - Number of Points/Vertices | |
-------------------------------- | |
76543210 | |
| | |
| | |
? | |
0x03 - ? (usually 0x00?) | |
------------------------ | |
Sometimes it's not, though... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AKI polygon format | |
------------------ | |
by S.K. Styles and jordyad (doc by freem) | |
general file format: | |
* header | |
* point/vertex data | |
* face data | |
this format is mad simple | |
[Header] | |
0x00 - Size/Scale | |
0x01 - Number of Points/Vertices | |
0x02 - Number of Faces | |
0x03 - ? (usually 0x00?) | |
0x04 - X point offset | |
0x05 - Y point offset | |
0x06 - Z point offset | |
0x07 - texture map offset (possibly split into nibbles?) | |
[Point/Vertex Data] | |
0x00: X (8 bit) | |
0x01: Y (8 bit) | |
0x02: Z (8 bit) | |
0x03: U? (8 bit) | |
0x04: V? (8 bit) | |
0x05: vertex color? (24 bit) | |
[Face Data] | |
Each face consists of 3 bytes, representing indices into the vertex data. | |
[Other Notes] | |
0x00 - Size/Scale | |
----------------- | |
0x01 - Number of Points/Vertices | |
-------------------------------- | |
76543210 | |
| | |
| | |
? | |
0x03 - ? (usually 0x00?) | |
------------------------ | |
Sometimes it's not, though... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment