• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MDX error msg

Messages
132
Country
us-kansas
I've recently installed the development release on my laptop. Laptop is using Win 7 and FS is P3D4.4. I imported a Sketchup design and tried the wizard to convert. I got the following error message. Any direction of a fix is appreciated. I haven't recently been active in scenery design and haven't really kept up like I should have.
________________________________________________________________

System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at ASToFra.ObjectRenderer.Renderer3DHandlerType.SetColorsAndTextures(Material mMaterial, Boolean highlightPart)
at ASToFra.ObjectRenderer.Renderer3DHandlerType.DrawModelPart(ModelPart mPart, RenderNodes renderNodes, Boolean highlight)
at ASToFra.ObjectRenderer.Renderer3DHandlerType.RenderModelPart(ModelPart p, RenderNodes renderNodes, Int32 activeLOD, Boolean highlight)
at ASToFra.ObjectRenderer.Renderer3DHandlerType.RenderSceneGraphNode(SceneGraphNode sn, RenderNodes renderNodes, Int32 activeLOD, Boolean highlightParent)
at ASToFra.ObjectRenderer.Renderer3DHandlerType.RenderSceneGraphNode(SceneGraphNode sn, RenderNodes renderNodes, Int32 activeLOD, Boolean highlightParent)
at ASToFra.ObjectRenderer.Renderer3DHandlerType.RenderScene(Int32 clientWidth, Int32 clientHeight)
at ASToFra.ObjectRenderer.Renderer3DHandlerType.Paint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at CSGL12.CSGL12Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Mike Eppright (KICT)
 
Hi Mike,

Does it happen with any model you try to load? It's a problem in the preview code, so either it's something specific to this model or else it might be related to the OpenGL drivers on your machine.
 
I just imported a fairly simple work table and processed with the wizard and it did produce a BGL file. I guess my airline terminal will have to start over from scratch. Thanks for your help.

Mike
 
Then it might be something specific in the model. If you can send me the DAE file I can try to reproduce it here.
 
It loads fine here on my machine. But I don't have the textures of course, so if the problem relates to the textures I won't see it here.

Are you using the latest development release?
 
Yes, I'm using the latest release up to a few days ago. Last night I watched your video on the conversion process and re did the texture conversions to DDS. Maybe I'm placing the textures in the wrong directory. I'm using ADE for placement. I may be doing something wrong in adding the object to the library. I will go back and research the ADE process for that. Thanks.
 
Hi,

The error you get in MCX has nothing to do with how you place it in ADE. It's something while previewing the model, but I can't reproduce it here.
 
Back
Top