tge-was-taken / GFD-Studio

P3D, P4D, P5D & Persona 5 Model Editor
70 stars 45 forks source link

System.NotImplementedException: DX10 #51

Open RandomBagel opened 1 year ago

RandomBagel commented 1 year ago

Can't use the 3D model viewer, and whenever I open a model it gives me the "unhandled exception has occured in your application" with options to quit or ignore the error.

** Exception Text ** System.NotImplementedException: DX10 at GFDLibrary.Rendering.OpenGL.GLTexture.GetPixelInternalFormat(DDSPixelFormatFourCC format) in C:\project\GFDLibrary.Rendering.OpenGL\GLTexture.cs:line 131 at GFDLibrary.Rendering.OpenGL.GLTexture..ctor(Texture texture) in C:\project\GFDLibrary.Rendering.OpenGL\GLTexture.cs:line 32 at GFDStudio.GUI.Controls.ModelViewControl.<>cDisplayClass49_0.b0(Material material, String textureName) in C:\project\GFDStudio\GUI\Controls\ModelViewControl.cs:line 202 at GFDLibrary.Rendering.OpenGL.GLMaterial..ctor(Material material, MaterialTextureCreator textureCreator) in C:\project\GFDLibrary.Rendering.OpenGL\GLMaterial.cs:line 46 at GFDLibrary.Rendering.OpenGL.GLModel.<>cDisplayClass13_0.<.ctor>b2(KeyValuePair2 y) in C:\project\GFDLibrary.Rendering.OpenGL\GLModel.cs:line 32 at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer`1 comparer) at GFDLibrary.Rendering.OpenGL.GLModel..ctor(ModelPack modelPack, MaterialTextureCreator textureCreator) in C:\project\GFDLibrary.Rendering.OpenGL\GLModel.cs:line 32 at GFDStudio.GUI.Controls.ModelViewControl.LoadModel(ModelPack modelPack) in C:\project\GFDStudio\GUI\Controls\ModelViewControl.cs:line 190 at GFDStudio.GUI.Forms.MainForm.UpdateSelection(DataViewNode node) in C:\project\GFDStudio\GUI\Forms\MainForm.cs:line 211 at GFDStudio.GUI.Forms.MainForm.OpenFile(String filePath) in C:\project\GFDStudio\GUI\Forms\MainForm.cs:line 137 at GFDStudio.GUI.Forms.MainForm.HandleOpenToolStripRecentlyOpenedFileClick(Object sender, EventArgs e) in C:\project\GFDStudio\GUI\Forms\MainForm.Events.cs:line 107 at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

I know my GTX 1050 Ti supports OpenGL 3.3, I've used this app on my system in the past, albeit on windows 10. I'm currently running windows 11 if that means anything.