Sorry, forgot something. My DBP is rusty.
sync on
backdrop on
load object "cube.x", 1
make mesh from object 1, 1
make memblock from mesh 1, 1 : rem <-------- this line here
fvf = memblock dword(1, 0)
vertSize = memblock dword(1, 4)
vertCount = memblock dword(1, 8)
do
set cursor 0, 0
print "fvf: ";fvf
print "vertex size: ";vertSize
print "vertex count: ";vertCount
sync
loop
The point of the code is to see what the Blender's X exporter is doing. FVF is not necessarily required but I'm not taking any chances with blender export scripts.
If you could upload the .blend file and possibly even the .X file, it would be very helpful. Of course, if you find your data to be sensitive then that's fine, we can take it step by step.
I like offending people. People who get offended should be offended. --
Linus Torvalds