OgreXMLConverter error while "Generating Edge Lists...

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
MrBigs
Halfling
Posts: 45
Joined: Thu Mar 24, 2005 5:49 am
Location: Australia

OgreXMLConverter error while "Generating Edge Lists...

Post by MrBigs »

I have about 5 different meshes that won't convert from XML to .mesh. They all die when the converter says...

"Generating Edge Lists..."

Any ideas? Note: My meshes aren't fully closed objects. I'm using Maya 6.5 and I've deleted all my "History" from maya. I'm using the latest maya 6.5 exporter too.

Should I be triangulating my objects before exporting? Does the exporter auto triangulate, and if so won't that double my poly count if i do that because it effective splits it up into tri's twice.
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post by sinbad »

The exporter should export the triangles that are already defined. Try running the debug version of the XML converter to see where it's crashing, it tends to be pretty tolerant when building edge lists so I'm not sure what could be causing this.
MrBigs
Halfling
Posts: 45
Joined: Thu Mar 24, 2005 5:49 am
Location: Australia

Post by MrBigs »

I ended up shifting to teh scene in to 3dsmax and used the octopus exporter. I have now managed to get a work in progress scene into the engine. We still have a few textures that have to be resetup in 3dsmax. Should hava complete scene by tomorrow :D

Image Image Image
MrBigs
Halfling
Posts: 45
Joined: Thu Mar 24, 2005 5:49 am
Location: Australia

Post by MrBigs »

Ok, well I've managed to get the model to export from Maya, both xml and .mesh. Not sure how really. It just worked ...

But then if i take the exported XML, and try and run it through the OgreXMLConverter manually it get the same old error.

If i take the .mesh that maya spat out and try and load it in ogre I get this error.

Code: Select all

Assertion failed: numIndexes > 0, file c:\ogresdk\ogrenew\rendersystems\direct3d
9\src\ogred3d9hardwarebuffermanager.cpp, line 92
I haven't yet been able to get a debug version of the XML Converter.
It's wierd that I can export from 3dsmax fine but not maya.
User avatar
bisco
OGRE Contributor
OGRE Contributor
Posts: 235
Joined: Wed Nov 03, 2004 5:01 pm
Location: London, United Kingdom

Post by bisco »

mmm, not that weird, they're two different exporters and probably is a problem of the maya exporter.
I'll try and look into it to see if I can fix the bug.
If anyone has a test scene to send me it'd be great
MrBigs
Halfling
Posts: 45
Joined: Thu Mar 24, 2005 5:49 am
Location: Australia

Post by MrBigs »

I can send you two. It will just have a flat texture over everything because I can't send you all the textures. It shouldn't matter though because I think there error is occuring in processing the geometry. I'll send it to your email address. Should be about 200k each. Its a big scene, like 300+ objects. But I was having problems with it with the currect solution of your exporter and the LFA .scene one by metaldev.
Post Reply