When I'm using mdl2mesh to convert nwn mesh to ogre one, OgreXMLConverter often crash.
Here what is it write on the command windows
XMLSkeletonSerializer: reading XML data from Giant_Spider.skeleton.xml...
XMLSkeletonSerializer: Reading Bones name...
XMLSkeletonSerializer: Reading Hierarchy data...
Anyone know what it the problem and how can I make it work?
OgreXMLConverter.exe crash when use mdl2mesh
-
- Gnoblar
- Posts: 18
- Joined: Sun Aug 28, 2005 7:09 pm
-
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
-
- Gnoblar
- Posts: 18
- Joined: Sun Aug 28, 2005 7:09 pm
I have try the dtd, it said that the xml is valid.
I have try it on debug mode, It cannot found a bone...
XMLSkeletonSerializer: reading XML data from C:\ogreaddons\mdl2mesh\Jaguar.skeleton.xml...
12:54:00: XMLSkeletonSerializer: Reading Bones name...
12:54:00: XMLSkeletonSerializer: Reading Hierarchy data...
12:54:00: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: Skeleton::getBone
Description: Bone named 'NULL ' not found..
File: c:\ogre-win32-v1-0-3p1\ogrenew\ogremain\src\ogreskeleton.cpp
Line: 495
Stack unwinding: <<beginning of stack>>
When I check the value for the name of the bone it say {???}
I have try it on debug mode, It cannot found a bone...
XMLSkeletonSerializer: reading XML data from C:\ogreaddons\mdl2mesh\Jaguar.skeleton.xml...
12:54:00: XMLSkeletonSerializer: Reading Bones name...
12:54:00: XMLSkeletonSerializer: Reading Hierarchy data...
12:54:00: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: Skeleton::getBone
Description: Bone named 'NULL ' not found..
File: c:\ogre-win32-v1-0-3p1\ogrenew\ogremain\src\ogreskeleton.cpp
Line: 495
Stack unwinding: <<beginning of stack>>
When I check the value for the name of the bone it say {???}
-
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
-
- Platinum Sponsor
- Posts: 243
- Joined: Fri Oct 03, 2003 5:57 am
- Location: Sweden
- x 2
-
- Gnoblar
- Posts: 18
- Joined: Sun Aug 28, 2005 7:09 pm
it the giant spider model that come with neverwinter model view.
I can't conver any other of those model too.
http://www.megaupload.com/?d=01IZ3GQP
http://nwn.bioware.com/downloads/viewer.html
I can't conver any other of those model too.
http://www.megaupload.com/?d=01IZ3GQP
http://nwn.bioware.com/downloads/viewer.html
-
- Gremlin
- Posts: 174
- Joined: Wed Jan 21, 2004 2:42 pm
- Location: Frankfurt, Germany
I removed the line
and it converted just fine. The bone named "NULL" was never defined within the <bones> section, hence the error.
HTH
Code: Select all
<boneparent bone="Giant_Spider " parent="NULL " />
HTH
-
- Gnoblar
- Posts: 18
- Joined: Sun Aug 28, 2005 7:09 pm
-
- Platinum Sponsor
- Posts: 243
- Joined: Fri Oct 03, 2003 5:57 am
- Location: Sweden
- x 2
-
- Halfling
- Posts: 60
- Joined: Fri Oct 24, 2003 6:39 pm
- x 1
-
- Gnoblar
- Posts: 18
- Joined: Sun Aug 28, 2005 7:09 pm