Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: TrueVision3D chashed when loading my animated xfile  (Read 3624 times)
Gentledepp
Community Member
*
Posts: 22


« on: November 09, 2005, 12:38:47 PM »

Hi everybody!
I have created a walking character for our game project and exported it as an x-file with panda directx exporter for 3ds max 7.
the problem is, that i cannot load the mesh, because the engine crashes without a reasonable error message.
(I am using the c# tutorial: loading an animated direct x file...)
To test where the error can be, I downloaded the animated example meshes from
http://www.andytather.co.uk/Panda/directxmax_samples.aspx
and when I load these *.max files and export them, the truevisionengine can load them without any problem.
So where can the error be, if not in my *.max file?! But where is it?!!!!!
I just do not understand where my file and those of panda software differ...
I am also using a biped to controll the mesh - the only difference is, that i do not use the footstep animation tool...
so please help me!
thanks  lx
Logged
darqSHADOW
Administrator
Community Member
*****
Posts: 2817


« Reply #1 on: November 09, 2005, 01:28:28 PM »

Do a search on the forums for Panda -- there has been quite a few discussions about the exporter having problems, and it depends on how you setup your options for export.

DS
Logged

TrueVision3D Project Manager
The fast and simple way of 3D development.
Gentledepp
Community Member
*
Posts: 22


« Reply #2 on: November 09, 2005, 05:01:13 PM »

I know, thanks!
But my problem is, that the trialmeshes from the panda team DO work!
And I always get this f***in' exception:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at TrueVision3D.TVMeshClass.LoadSkinMesh(String Filename)
   at B08___Load_a_hierarchic_animated_X_file.Form1.Form1_Load(Object sender, EventArgs e) in c:\programme\tv3dsdk\c#\tutorials\b08 - load a hierarchic animated x file\form1.cs:line 106
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(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.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.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.573
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
B08 - Load a hierarchic animated X file
    Assembly Version: 1.0.2139.41372
    Win32 Version: 1.0.2139.41372
    CodeBase: file:///C:/Programme/TV3DSDK/C%23/Tutorials/B08%20-%20Load%20a%20hierarchic%20animated%20X%20file/bin/Debug/B08%20-%20Load%20a%20hierarchic%20animated%20X%20file.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
Interop.TrueVision3D
    Assembly Version: 1.3.0.0
    Win32 Version: 1.3.0.0
    CodeBase: file:///C:/Programme/TV3DSDK/C%23/Tutorials/B08%20-%20Load%20a%20hierarchic%20animated%20X%20file/bin/Debug/Interop.TrueVision3D.DLL
----------------------------------------
Interop.DxVBLibA
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Programme/TV3DSDK/C%23/Tutorials/B08%20-%20Load%20a%20hierarchic%20animated%20X%20file/bin/Debug/Interop.DxVBLibA.DLL
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
Logged
Gentledepp
Community Member
*
Posts: 22


« Reply #3 on: November 10, 2005, 10:26:48 AM »

I now got the solution for my problem: Cheesy
I just opened the x-file with Direct X Mesh Viever (which i got from  tinusaurier - THANKS TO YOU) and saved it with this prog.
--> true vision has no more problems.....
it's strange, isn't it?!
but now I can laugh about it! *gg*  :lol:
Logged
darqSHADOW
Administrator
Community Member
*****
Posts: 2817


« Reply #4 on: November 10, 2005, 11:36:03 AM »

There is something strange with the way that Panda makes it files.  Thankfully with 6.5 we have our own exporters now, and a command line conversion utility, which will hopefully eliminate these issues.

DS
Logged

TrueVision3D Project Manager
The fast and simple way of 3D development.
juanpscar
Community Member
*
Posts: 2


« Reply #5 on: June 03, 2009, 01:16:42 PM »

"(I am using the c# tutorial: loading an animated direct x file...)"
Where can I get this tutorial?
thanks
Logged
tagget
Customers
Community Member
*****
Posts: 243


« Reply #6 on: June 12, 2009, 10:07:57 PM »

Use a Tardis to travel back to 2005 and download it.

Simple.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks