Page 1 of 1

OgreXMLConverter error while "Generating Edge Lists...

Posted: Sat Oct 08, 2005 6:12 am
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.

Posted: Sat Oct 08, 2005 5:27 pm
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.

Posted: Mon Oct 10, 2005 4:11 am
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

Posted: Tue Oct 11, 2005 4:40 am
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.

Posted: Tue Oct 11, 2005 4:45 pm
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

Posted: Wed Oct 12, 2005 1:55 am
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.