importing models done on 3ds max 6 and 7
Posted: Sun Dec 12, 2004 12:01 am
Hey im having a problem with injecting my own models into HMT 3.5 after ive imported and exported them from 3ds max 6 and 7. heres what i do...
I export the model from hmt and save it as pistol.obj
I import the model on 3ds max 6 (or 7)
i dont edit anything, just directally export the model and ssave it as pistolx.obj
when i go to import the model, i can import pistol.obj (the stock file) but i cannot open the file that has been through 3ds max (pistolx.obj)
I get the following error:
___________________________________________________
An unhandled execption has occured in your application. If you click Continue, the application will ignore this error and attempt to continue, if you click quit, the application will shut down immediately.
Unable to read beyond end of the stream.
________________________________________________
if i click continue, the proggy keeps running and the file dosent import, if i click quit, well... you guessed it!
then there is a details button that if i click says:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.__Error.EndOfFile()
at System.IO.BinaryReader.ReadChar()
at ModeLib.ModeGUI.ImportModel(String strFileName, Int32 model)
at ModeLib.ModeGUI.Button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
HaloMapTools
Assembly Version: 1.0.1560.18095
Win32 Version: n/a
CodeBase: file:///C:/%AB%D0%FC$
I export the model from hmt and save it as pistol.obj
I import the model on 3ds max 6 (or 7)
i dont edit anything, just directally export the model and ssave it as pistolx.obj
when i go to import the model, i can import pistol.obj (the stock file) but i cannot open the file that has been through 3ds max (pistolx.obj)
I get the following error:
___________________________________________________
An unhandled execption has occured in your application. If you click Continue, the application will ignore this error and attempt to continue, if you click quit, the application will shut down immediately.
Unable to read beyond end of the stream.
________________________________________________
if i click continue, the proggy keeps running and the file dosent import, if i click quit, well... you guessed it!
then there is a details button that if i click says:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.__Error.EndOfFile()
at System.IO.BinaryReader.ReadChar()
at ModeLib.ModeGUI.ImportModel(String strFileName, Int32 model)
at ModeLib.ModeGUI.Button2_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
HaloMapTools
Assembly Version: 1.0.1560.18095
Win32 Version: n/a
CodeBase: file:///C:/%AB%D0%FC$