Pliss help read binary data from mesh.
I disassembled such a structure :
int 0 int numGeometryes / materials int 1 int 0 byte 0 byte stringLength String texture name.tex int num vertex int num tris array float data. packed ? everywhere as if the block identifier is such a record 00 00 00 01 01. After 3 float (12b) and main data its short floats array Vector3 vertex pos packed ? can be read using ReadPackedVector3() 4b ? Vector2 uv на simple floats 0.0 - 1.0 as normal uv. not packed array array indices short array
Please, help.
The size of the blocks with the texture varies in different files of this mesh.
after string and until the end of the block, sometimes the size is 90 bytes. Sometimes 85. Next comes zeros, empty space is 65 bytes.
Sometimes in some files there is no empty space.
Sometimes it is as if a block of 90 bytes is written with a texture, and after it is not the same block, but immediately something similar to the records of the vertices and the se.
How to read this file or how to go directly to the record with vertex, 4b, uv?
Very similar to DirectXSDK MeshConventer.