Archived

This topic is now archived and is closed to further replies.

DanG

Complete coverage of MS3D Format

Recommended Posts

Does anyone know where i can find COMPLETE coverage of the Milkshape MS3D file format? So far i have only found bits and pieces in tutorials. THis guy wrote this and says like "we''ll ignore this" or "forget what blahblah variable is" . What i want is just a straightforward breakdown of the file format, what every variable is for. Not even the Milkshape SDK includes everything. Google has failed me, you guys are my only hope!

Share this post


Link to post
Share on other sites
While not a straightforward document, the ms3dspec.txt.c file that is included with the SDK details the structures and order in which all data is contained within .MS3D files. It is very simple, consisting of (in exact order):
header
# vertices
vertex data
# triangles
triangle data
# groups
group data
# materials
material data
Animation FPS
Current editor time
Total frames
# joints
joint data




Jim Adams
home.att.net/~rpgbook
Author, Programming Role-Playing Games with DirectX

Share this post


Link to post
Share on other sites
Thank you for the input. I checked out that ms3d.txt.c and it is what i was looking for, but not in much (or any) detail. However it cleared up a lot. SOme questions remain though (these don''t partain to animation, i''m not dealing with that now)

The verts triangles and groups seem to have a variable called flags that can take values like SELECTED, SELECTED2, HIDDEN What do these meen?

Also, if you don''t specify something like an alpha map, does it still exist in the file? As in, do you still need to read filler values for it?


All comments appreciated.





He who said money was the root of all evil knew little of the nature of money and less about the nature of man.

Share this post


Link to post
Share on other sites