When exporting a model from 3ds Max as FBX to import it into XNA, what metrics should I choose to make 1 unit in 3ds Max equal to 1 unit in XNA?
For example: I have a sphere model with 1m radius exported to XNA. When drawing I use:
Matrix[] transforms = new Matrix[model.Bones.Count];
model.CopyAbsoluteBoneTransformsTo(transforms);
foreach (ModelMesh mesh in model.Meshes)
{
foreach (BasicEffect be in mesh.Effects)
{
be.EnableDefaultLighting();
be.World = mesh.ParentBone.Transform * Matrix.CreateScale(radius)
* TransformMatrix;
be.View = camera.view;
be.Projection = camera.projection;
}
mesh.Draw();
}
Radius is defined in my class as float.
This will draw a ball smaller than 1.