AxModel
This is extension for XNA Game Studio, which allow you to import Milkshape3D MS3D Files or Blitz3D B3D Files, static and animated. MS3D and B3D is popular fileformat for 3D-Models. You can export these files from alot of popular 3D Apps. Now your XNA Game Studio can support not only X Files, and FBX but also ms3d and b3d. MS3D and B3D doesnt have multiple animations, but this extension have Ability to split up single animations into multiple animations based on xml file configuration, If you want know more: look at examples...
|
If you like this project, you can Donate. more donations == faster bug fix, updates and faster implements new file-formats: DeledCE, Fragmotion Files, EarthSculptor, BVH, and so on. if the sum of donations exceeds $100. Ill upload this project to www.codeplex.com as opensource. |
Whats new (v1.1) (30-07-2010):
- Blitz3D B3D Fileformat is now supported.
- Added more tags to XML, now there are: Names,AnimClips,GroupBounding.
- Little updates for MS3D Importer.
- Added XBOX360 support, (but not tested).
- Multitextures for B3D also supported, there are example with levelmap.
- for Sunburn, temporarly you can use only Animated Models (not Static).
- Support Milkshape3D only.
- Initial version.
Notes:
- Dont use 'Rescale' in ContentProcessor, there will be some problems with bones.
- Create Box in Milkshape and name: BBOX|groupname, to assign BoundingBox for specified by 'groupname' mesh.
- Extension is still not tested enough, there may exist bugs.
- ModelInfo.JointNames[x] member, there are names of all joints.
- ModelInfo.MeshNames[x] member, there are list of all names of meshes.
- ModelInfo.MeshMaterials[x] member, there are list of materials for meshes.
- Sunburn example is for Sunburn-framework (free personal edition).
- I have some plans, for support more than MS3D fileformats, like: bvh,fragmotion,deledCE...
- Press F1-F7 in examples then AnimationClip will change to new one.
- MS3D Models from version Milkshape 1.8.5 or more, may not work correctly. Use 1.8.4 or below.
More descriptions:
![]() |
Only what you need, just put any MS3D file, to Content Folder at Solution Explorer. Dont forget load ours new extensions. AxModel.MS3D.dll and AxModel.Processor.dll to Content/References Folder. We need also AxModel.System.dll put into main References Folder. There also is AxModel.SunburnProcessor.dll, if you use Synapse Lighting Sunburn. |
![]() |
Now we have new ContentImporter and ContentProcessor. Select for dwarf1.ms3d or any your MS3D File, AxModel.Milkshape3D as ContentImporter, and AxModel.AxModelProcessor as ContentProcessor. If you use Sunburn choose AxModel.AxModelProcessor Sunburn. If you have *.xml file with multi-animation infos. for your file.ms3d, should be named same as main file. Example: if you file is, ant01.ms3d, xml should named: ant01.ms3d.xml. You dont need add this xml-file into Solution Explorer. |
![]() |
Now you can easly import your MS3D model (even animated) into your XNA Project.
Look into ZIP File, there are some tutorials.
|
![]() |
If you want change AnimationClip, your Code should be similar like this:
|
![]() |
Before render just use this method.
|
![]() |
MS3D Importer also save BoundingBox data per mesh-group. Create simple Box in Milkshape and name this
mesh as BBOX|groupname (MS3D-Only). This BoundingBox will be assigned to specified meshgroup. For B3D Importer use XML with GroupBounding. |
/sharkk





