-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SADXLVL2 Import Issue #30
Comments
-A link to the landtable in question can be found here I did a new import with meshes with smaller polycounts, roughly 5kish. This prevents the above endless errors, but brings up new issues. The ingame look is the same as the above where mat colors appear black. However in editor, duplicating meshes or opening the material editor causes errors. The immediate below error occurs for both cases. It continues into the editor if continue is pressed, however the material appears blank. You can edit this to tweak the material and it seems to work, but none of the current settings are loaded meaning they must ALL be set by hand again. Program: SADXLVL2 |
SADXLVL2 is having problems when importing this after clicking anywhere in the viewport:
ParallelTundraGarden.zip
and it seems to be related to polygons counts. Occurs with straight obj importing as well as nodetable. Older versions, I believe before the project update, but at least as recent as April 8th 2018 imported this same thing fine. However when trying to load up this sa1lvl in the new build, the same errors that come up when clicking the viewport after importing through that version come up.
Said error is:
Program: SADXLVL2
Build Date: 10/07/2018 04:56:37
OS Version: Microsoft Windows NT 6.2.9200.0
Log:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SonicRetro.SAModel.Direct3D.Mesh`1.CheckHit(Vector3 Near, Vector3 Far, Viewport Viewport, Matrix Projection, Matrix View, Matrix transform, NJS_OBJECT model) in E:\AutoBuild\sa_tools\SAModel.Direct3D\Mesh.cs:line 350
at SonicRetro.SAModel.SAEditorCommon.DataTypes.LevelItem.CheckHit(Vector3 Near, Vector3 Far, Viewport Viewport, Matrix Projection, Matrix View) in E:\AutoBuild\sa_tools\SAEditorCommon\DataTypes\LevelItem.cs:line 121
at SonicRetro.SAModel.SADXLVL2.MainForm.PickItem(Point mouse, Item& item) in E:\AutoBuild\sa_tools\SADXLVL2\MainForm.cs:line 2253
at SonicRetro.SAModel.SADXLVL2.MainForm.panel1_MouseDown(Object sender, MouseEventArgs e) in E:\AutoBuild\sa_tools\SADXLVL2\MainForm.cs:line 2160
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.UserControl.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(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.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The text was updated successfully, but these errors were encountered: