importing animations

May 6, 2007 at 11:14 PM
I import animations from milkshape. I try *.x format and animations are deformed (fine in milkshape), I import as an fbx, and animation is fine, but model is completely black. I added a texture just to make sure it wasn't missing the materials.... Obviously people are able to import their animations, so if anyone could shed some light on what software they are using? hopefully someone using milkshape could give me a pointer? thanks in advance :)
May 7, 2007 at 1:26 AM
you might need to add the effect in

Effect myEffect = content.Load<Effect>("MyPaletteEffect");
foreach (ModelMesh mesh in model.Meshes)
for (int i = 0; i < mesh.MeshParts.Count; i++)
ModelMeshPart part = mesh.MeshPartsi;
BasicPaletteEffect effect = (BasicPaletteEffect)part.Effect;
part.Effect = myEffect.Clone(graphics.GraphicsDevice);