Ogre XML Converter crashes on manual LOD(possible Ogre bug?)

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
DarthCoder
Gnoblar
Posts: 23
Joined: Mon Jun 03, 2013 7:16 pm

Ogre XML Converter crashes on manual LOD(possible Ogre bug?)

Post by DarthCoder »

I'm trying to convert a .mesh.xml file with manual LODs but every time I try to run the XML converter on it the converter crashes. I've tried running on the exact same XML file, just removing the <levelofdetail> element and it always works then. I attached the .mesh.xml file, is this a bug in the converter? Or something wrong with my XML file? The part that I change is here:

Code: Select all

<levelofdetail numLevels="2" manual="true">
<lodmanual fromdepthsquared="100" meshname="assets/Pingy_LOD_1.mesh"/>
<lodmanual fromdepthsquared="400" meshname="assets/Pingy_LOD_2.mesh"/>

</levelofdetail>
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: Ogre XML Converter crashes on manual LOD(possible Ogre b

Post by masterfalcon »

It could be a bug. Sounds familiar too. What version is this with? It may have been fixed for 1.9.
DarthCoder
Gnoblar
Posts: 23
Joined: Mon Jun 03, 2013 7:16 pm

Re: Ogre XML Converter crashes on manual LOD(possible Ogre b

Post by DarthCoder »

It's the latest version: 1.9 RC1. I haven't tried generating automatic LOD yet because I only really plan to use auto generated LODs on rocks and other small environment details.
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: Ogre XML Converter crashes on manual LOD(possible Ogre b

Post by masterfalcon »

Could you file a bug on this? And attach a xml file that we can test with. Thanks!
DarthCoder
Gnoblar
Posts: 23
Joined: Mon Jun 03, 2013 7:16 pm

Re: Ogre XML Converter crashes on manual LOD(possible Ogre b

Post by DarthCoder »

Sure, I'll make a test case file. Where do I go to file a bug report?
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: Ogre XML Converter crashes on manual LOD(possible Ogre b

Post by masterfalcon »

DarthCoder
Gnoblar
Posts: 23
Joined: Mon Jun 03, 2013 7:16 pm

Re: Ogre XML Converter crashes on manual LOD(possible Ogre b

Post by DarthCoder »

I've made a test case, but I can't log in with my bitbucket account and I can't sign up because the captcha won't load.

Here's the model
http://www.mediafire.com/?jhb4463g6114kz1
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: Ogre XML Converter crashes on manual LOD(possible Ogre b

Post by masterfalcon »

That's ok. I've downloaded the files.

There are at least a couple issues.

1. The numlevels attribute of levelofdetail should be all lowercase.
2. The levels should be 3, don't forget that the regular full detail version is also a level.
DarthCoder
Gnoblar
Posts: 23
Joined: Mon Jun 03, 2013 7:16 pm

Re: Ogre XML Converter crashes on manual LOD(possible Ogre b

Post by DarthCoder »

Thank you SO much. It works perfectly now. I can't believe I forgot to check capitalization :(
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: Ogre XML Converter crashes on manual LOD(possible Ogre b

Post by masterfalcon »

No problem! Glad it's working for you now.
Post Reply