Say for instance I create/load a selection of entities, how would I then export them from within the SDK to a model file. Any format would be good, but preferably DirectX format.
Thanks in advance.
You would read all vertices and triangles from the surfaces on the mesh and store them manually into a file
Really! I thought there might have been a SaveMesh or SaveEntity function, especially for the B3D format.
*pulls out the DirectX specification...urgghh*
There is Blitz3D code in the archives to save to X or B3D. You would need to convert it of course.
Here is one:
http://blitzmax.com/codearcs/codearcs.php?code=1794More here:
http://blitzmax.com/Community/posts.php?topic=66815
Excellent Beaker, I will take a look thanks.