Anonymous

Changes

From Final Fantasy Inside

FF8/FileFormat DAT

24 bytes added, 01:17, 3 May 2016
Section 2: Model geometry
==== Useful structures ====
typedef struct vertice {
sint16 x, y, z;
} vertice;
(sizeof = 6)
typedef struct triangle { uint16 vertex_indexes[3];// vertex_indexes[0] &= 0x7FFF0xFFF, other bits are unknown
uint8 texCoords1[2];
uint8 texCoords2[2];
uint8 texCoords3[2];
uint16 u; // textureID_related2
} triangle;
(sizeof = 16)
typedef struct quad { uint16 vertex_indexes[4];// vertex_indexes[0] &= 0x7FFF0xFFF, other bits are unknown
uint8 texCoords1[2];
uint16 textureID_related;
uint8 texCoords3[2];
uint8 texCoords4[2];
} quad;
(sizeof = 20)
Anonymous user