I'm trying to render a model made in Blender. I export it to .fbx and import it in the content pipeline, load and draw it, but it displays like this:
And this is what it looks like in Blender:
Code that draws the model:
foreach (ModelMesh modelMesh in model.Meshes)
{
foreach (BasicEffect basicEffect in modelMesh.Effects)
{
basicEffect.EnableDefaultLighting();
basicEffect.PreferPerPixelLighting = true;
basicEffect.World = Matrix.CreateTranslation(Position);
basicEffect.View = camera.ViewMatrix;
basicEffect.Projection = Matrix.CreatePerspectiveFieldOfView(width / height, MathHelper.PiOver2, 0.1f, 100f);
}
modelMesh.Draw();
}
Does anyone know what's wrong with the model?

