This may have been posted before, but -
I was making a Direct x object exporter in DBC and kept running into problems when using MAKE MEMBLOCK FROM MESH. I couldn't get the face information into my .x file from the memblock. It turns out, the header information in the help file is a little bit incorrect:
--Face Data
---For Each Face (a face makes a polygon using A,B and C as vector points)
----2 BYTES (DWORD) - Number of Vectors in Face (always use 3)
----2 BYTES (DWORD) - Index to Vertex in Vertex Data for Vector A
----2 BYTES (DWORD) - Index to Normal in Vertex Data for Vector A
----2 BYTES (DWORD) - Index to Vertex in Vertex Data for Vector B
----2 BYTES (DWORD) - Index to Normal in Vertex Data for Vector B
----2 BYTES (DWORD) - Index to Vertex in Vertex Data for Vector C
----2 BYTES (DWORD) - Index to Normal in Vertex Data for Vector C
While it has DWORD (4 bytes) listed as the size, it has 2 bytes written at the beginning. I wasn't paying attention and used the 2 bytes (WORD) instead of 4 bytes (DWORD). I think this section in the help file should read:
--Face Data
---For Each Face (a face makes a polygon using A,B and C as vector points)
----4 BYTES (DWORD) - Number of Vectors in Face (always use 3)
----4 BYTES (DWORD) - Index to Vertex in Vertex Data for Vector A
----4 BYTES (DWORD) - Index to Normal in Vertex Data for Vector A
----4 BYTES (DWORD) - Index to Vertex in Vertex Data for Vector B
----4 BYTES (DWORD) - Index to Normal in Vertex Data for Vector B
----4 BYTES (DWORD) - Index to Vertex in Vertex Data for Vector C
----4 BYTES (DWORD) - Index to Normal in Vertex Data for Vector C
Enjoy your day.