MS3D...

Does anyone know how to read a specific amount of animation data from a ms3d file?
I know that i can’t read the frames, since milkshape uses some kind of time and keyframes to make the animation.

Originally posted by Brorsson:
Does anyone know how to read a specific amount of animation data from a ms3d file?
I know that i can’t read the frames, since milkshape uses some kind of time and keyframes to make the animation.

Actually, I just wrote some stuff to load an ASCII Milshape 3D file, including keyframe animations. Somewhere on the MS3D site, there is a download for an MSViewer with source code. You can use that to help figure out the file format, and how it stores and rebuilds the animation transformation. Or maybe you could just copy the code into your project if you dont mind doing that sort of thing (although I dont recall what the license agreement on that code was, so that might not be legal).