Hi I am trying to write MDL from python. And I started using bits and pieces from the Urho3d Blender exporter.
I am following the docs: urho3d.github.io/documentation/H … rmats.html
So far I have something like this:
byte[4] Identifier "UMDL"
uint Number of vertex buffers
For each vertex buffer:
uint Vertex count
byte[] Vertex data (vertex count * vertex size)
uint Number of index buffers
For each index buffer:
uint Index count
byte[] Index data (index count * index size)
But the Editor just crashes when I write only this data. What is the absolute mandatory information needed for an MDL to work properly ?
Thanks in advance,
Alex