RaiderZ *.elu faces
Posted: Wed Sep 08, 2010 2:49 pm
i'm try to understand elu models from the new elu format (see a bpy script for old elus here: http://forum.ragezone.com/f245/elu-ani- ... er-488857/)
there is some variety between versions, so my specific request is for 0x500D - which is used for some animal npcs.
it looks like much of the data is now in a table - vertices, uvs, weights, etc but im unable to find the faces.
attached are 3 examples!
there is some variety between versions, so my specific request is for 0x500D - which is used for some animal npcs.
it looks like much of the data is now in a table - vertices, uvs, weights, etc but im unable to find the faces.
Code: Select all
uint32 Sig
uint32 Version
uint32 Materials - now 0 (for reading old versions) as materials are in an external xml
uint32 Objects
for each object:
uint32 lenMeshName
char MeshName[lenMeshName]
uint32 lenParentName
char ParentName[lenParentName]
int32 ParentBoneIndex -1 when no parent bone
uint32 ?? multiple of 4096 - 4 or 20
uint32 ?? always 0
float WorldMatrix[16]
float ??
uint32 ??
uint32 v_indexes
float vertex[3][v_indexes]
uint32 ??
float ??[3][count value above] values are small
uint32 ??
float ??[3][count value above] values are small
uint32 ??
float ??[3][count value above] values are small
uint32 ?? uvs?
float ??[3][count value above] last value is either 0 or 1
* no idea from here *
the bones have
2 more uint32 values - so possibily 2 more structures
1 int32 value of -1
24 null bytes
24 other bytes (FF or 7F)
before the next object
attached are 3 examples!