# Sketchup model renders wrong in XNA

My XNA model renders wrong.

It should render like that:

But it renders like that:

The background doesn't matter. It's just the model that renders wrong.

Here is the drawing code:

protected override void Draw(GameTime gameTime)
{
GraphicsDevice.Clear(Color.CornflowerBlue);

DrawModel(model);

base.Draw(gameTime);
}

private void DrawModel(Model m)
{
GraphicsDevice.RasterizerState = RasterizerState.CullNone;

* Matrix.CreateTranslation(new Vector3(0,0,0));

foreach (ModelMesh mesh in m.Meshes)
{
foreach (BasicEffect effect in mesh.Effects)
{
effect.EnableDefaultLighting();
effect.World = worldMatrix;
effect.View = viewMatrix;
effect.Projection = projectionMatrix;
}

mesh.Draw();
}
}

• What do you mean with posting the mesh? The model loading code is this: Model model = Content.Load<Model>("Model"); It looks fine in the model editor. The model is saved in a .fbx file – user1990950 Mar 1 '13 at 15:36