Hi there!
To introduce myself - I am a total newbie at XNA and 3D programming. I modeled a little house in Blender (version 2.48).
I exported that model to fbx format and tried to add it to the content pipeline of my game project.
When ever I try to compile/run my project - I end up with the following error message in visual studio 2008:
Fehler 3 Building content threw InvalidOperationException: Position index out of range. VertexContent.PositionIndices contains a value outside of the range of the parent MeshContent.Positions collection.
bei Microsoft.Xna.Framework.Content.Pipeline.Graphics.IndirectPositionCollection.get_Item(Int32 index)
bei Microsoft.Xna.Framework.Content.Pipeline.Graphics.IndirectPositionCollection.<GetEnumerator>d__0.MoveNext()
bei Microsoft.Xna.Framework.Content.Pipeline.Graphics.IndirectPositionCollection.CopyTo(Vector3[] array, Int32 arrayIndex)
bei Microsoft.Xna.Framework.Content.Pipeline.Processors.VertexBufferContent.Write[T](Int32 offset, Int32 stride, IEnumerable`1 data, TargetPlatform targetPlatform)
bei Microsoft.Xna.Framework.Content.Pipeline.Graphics.VertexContent.CreateVertexBuffer(VertexBufferContent& vertexBuffer, VertexElement[]& vertexElements, TargetPlatform targetPlatform)
bei Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelProcessor.ProcessMesh(MeshBonePair meshBonePair, ContentProcessorContext context)
bei Microsoft.Xna.Framework.Content.Pipeline.Processors.ModelProcessor.Process(NodeContent input, ContentProcessorContext context)
bei Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor`2.Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.Process(Object input, ContentProcessorContext context)
bei Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAssetWorker(BuildItem item)
bei Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.BuildAsset(BuildItem item)
bei Microsoft.Xna.Framework.Content.Pipeline.BuildCoordinator.RunTheBuild()
bei Microsoft.Xna.Framework.Content.Pipeline.Tasks.BuildContent.RemoteProxy.RunTheBuild(BuildCoordinatorSettings settings, TimestampCache timestampCache, ITaskItem[] sourceAssets, String[]& outputContent, String[]& rebuiltContent, String[]& intermediates, Dictionary`2& dependencyTimestamps, KeyValuePair`2[]& warnings) C:\Dokumente und Einstellungen\Chriss\Desktop\WinFormsGraphicsDeviceSample\WinFormsGraphicsDevice\Content\models\haustest.fbx Content
I have no idea where that error message comes from - because other model (less complex) just work fine. Could it be a bug in the importer?
Any tips would be very welcome - because I'm already at the end of my very limited knowledge about Blender and fbx :-/