Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Bug #844: Actor fails to load static X files correctly
Product:
TV3D SDK 6.5
Language:
Visual Basic 6
Current State:
New
Resolution:
Unconfirmed
Created On:
May 31st, 2012
Last Modified:
May 31st, 2012
Reported By:
Mikorians
It was suggested to me by a forum member to use this method to manipulate the groups in an unskinned .x file. Microsoft MeshView loads the X files correctly, but TV3D crashes badly.
I tried to convert them with Model Viewer, but it utilizes the same TV3D function to load the X file, so no magic :(

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at CTVActor.LoadXFile(CTVActor* , SByte* , Boolean , Boolean )
at MTV3D65.TVActor.LoadXFile(String datasource, Boolean bLoadTextures, Boolean bLoadMaterials)
at ModelView.mTV3D.OpenFile(String filename, CONST_TV_FORMAT type)
at ModelView.frmMain.dlgOpenFile()
at ModelView.frmMain.mnOpen_Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItem.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/MICROSOFT.NET/FRAMEWORK/V2.0.50727/mscorlib.dll
----------------------------------------
ModelView
Assembly Version: 6.5.3602.42231
Win32 Version: 6.5.3602.42231
CodeBase: file:///C:/PROGRAM%20FILES/TV3D%20SDK%206.5/TOOLS/MODELVIEW/MODELVIEW.EXE
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
MTV3D65
Assembly Version: 6.5.3602.42214
Win32 Version:
CodeBase: file:///C:/PROGRAM%20FILES/TV3D%20SDK%206.5/TOOLS/MODELVIEW/MTV3D65.DLL
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
SandDock
Assembly Version: 2.3.0.0
Win32 Version: 2.3.0.0
CodeBase: file:///C:/PROGRAM%20FILES/TV3D%20SDK%206.5/TOOLS/MODELVIEW/SandDock.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.VisualC
Assembly Version: 8.0.0.0
Win32 Version: 8.00.50727.42
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
----------------------------------------

Comments:

Posted by Mikorians on June 3rd, 2012 at 8:08 PM
The problem REALLY seems to be improper texture mapping of a static .x file loaded as though it were an actor.
Posted by Mikorians on June 3rd, 2012 at 8:09 PM
- since I did a meshview - cleanmesh and got it to load, but they all look improperly painted.