• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

"degenerating polys"-error, exporting a model

Vitus

Resource contributor
Messages
1,480
Country
newzealand
Hello everybody,

since I installed SP1 for the FSX SDK, I get a huge list of "warnings" after exporting my Do228 model. The messages says something like:
WARNING: Degenerate poly detected in file (GMaxExport) mesh (l_fuselage)
WARNING: Face vertex 0 x=14 y=-82 z=16
WARNING: Face vertex 1 x=13 y=-82 z=18
WARNING: Face vertex 2 x=14 y=-82 z=16

but although these are marked as a "warning", the export fails with:
"convert data failed"
"Failed to run exporter"
"Failed to export model <filename>" and
"export module failure"

Hope you can help...
regards

Vitus
 
If there are no other warnings other than degenerate polys I would speculate that once a certain number of warnings are given then compilation fails eg > 100 warnings.

I fix most degenerate poly warnings by welding the vertices of the offending parts at .001M. If you are using xtomdl.exe you can write errors & warnings to a text file by adding the following to the end of the command command line

" > error_log.txt"
 
Hello,

thanks for answering! These warnings occure, because of unwelded Edges? That could be - my fuselage consists of two mirrored parts. I will test it in the evening.

Thanks a lot!

Vitus
 
still got a problem...

ok, after some welding, all warnings disapeared. BUT the export still fails!

These Messages came one after the other:

Code:
ConvertData failed!
Code:
Failed to run exporter
Failed to export model <filename>.
Export module failure

*sigh*
@Felix: I didnt get it - where do I have to insert this line?

regards
Vitus
 
this will be fun ;)
Hope you guys get my exporter working, so my two little babys (Do228 & this skidoo) will run through the snow :stirthepo
 

Attachments

  • prev01.jpg
    prev01.jpg
    21.7 KB · Views: 918
nobooody knows the trouble I've seen
noboooooody knows, but Jesus....


*push* I still got this &§?*!%§$ problem ;)
 
Can you export anything without error?

If you can export a simple box without error, try exporting only a few parts of your model at a time to determine which part(s) are generating the error.

"Divide and Conquer..." ;)
 
Hi n4gix,

I will try this as soon as I'm back home. What about those "special FS" items - GUID, friendly name, LOD-dummies. Should I setup these before exporting the simple box, or not?
 
nope

OK - I'm home, and I tried to export the box.
First attempt - just the box: convert failed, because of missing GUID & friendly name. So I run the MAX script LODS & names, generated a new GUID with friendly name "skidoo". Then I tried to export it again, and I got the same error msgs. like above. :(
 
Hello

If I may intervene. I have the same problem with you as far as the exporting and the warning about degenerate poly detected. when I try welding the vertices in small value nothing happens and as the value of wildering increases the polygon I have created is badly disfigured. I am new at scenery design and I was wondering if you could give me any tips.

Thans a lot.
 
Oh, I almost forgot this threat. :rolleyes:
btw: happy new year to everybody whos reading my embarrassing thread. :duck:

I solved my exporting problems - in the end, it was some kind of rtfm issue :o
After reading thousand-billions of tutorials, the whole sdk (twice) and Thomas Manns Buddenbrocks (just kidding), I read a small sentence about setting windows region setup to english will solve any problems thou might have.

After this change everything works fine! I added a new windows user called "gmax" with this region settings, so I just switch to this user when I want to get creative.
I still have some degenerated polys but I fixed most of them.

@jimmis: to get the exporter running, simply change the region settings. To fix that degenerated poly message, weld well! add a edit mesh modifier, and select only the vertices you want to weld. After that, select a proper radiant and "push da button".

best regards
Vitus
 
Wow. Change the regin setting. My mind yould never go that far. Lackily it worked for me too. Thanks a lot Vitus for saving me from a lot hours of reading.

Cheers
 
I fixed most of my degenerate poly errors by welding, but there are still a few that can't be fixed. In most cases, every test within 3D Max that I can possibly do on the objects (including STL Check) shows that there's absolutely nothing funky about them - and they seem to look fine in the sim as well - but they still produce the message. It certainly seems to be a benign message. So I weld whatever objects need to be welded, and don't worry about the rest.
________
LIVE SEX
 
Last edited:
I write gauge code and 3D is new to me. I usually get that message after boolean ops in Gmax, and everything looks great. I have no idea where this is coming from, and it's in the export tool somewhere.

That doesn't visually seem to do anything to my model and the export process works well.

I did find out that the ability to view a model in FSX is mostly dependent on the texturing and applying of FSX materials correctly. That process is fairly well documented, although there are a number of oddities, requiring a lot of trial-error.

I would first get a simple cube, texture it using FSX materials, and see if it shows up in FSX.
 
Hi guys,

I've changed "," by "."... No results... still having errors report

---

WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=15.88438 y=-17.40833 z=-65.54262
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.52293 y=-17.40833 z=-65.53929
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.9721 y=-17.40833 z=-65.0854
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.96876 y=-17.40834 z=-64.44684
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.51488 y=-17.40835 z=-63.99767
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=15.87632 y=-17.40835 z=-64.001
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=15.42716 y=-17.40835 z=-64.45489
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=15.4305 y=-17.40834 z=-65.09344
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh13)
WARNING: Face vertex 0 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=16.19963 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.73962 y=-17.40833 z=-65.54262
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.10107 y=-17.40833 z=-65.53929
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-31.6519 y=-17.40833 z=-65.0854
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-31.65524 y=-17.40834 z=-64.44684
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.10912 y=-17.40835 z=-63.99767
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.74767 y=-17.40835 z=-64.001
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-33.19683 y=-17.40835 z=-64.45489
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-33.1935 y=-17.40834 z=-65.09344
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh10)
WARNING: Face vertex 0 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=-32.42437 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=-0.262606 y=-17.40833 z=-65.54262
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=0.375945 y=-17.40833 z=-65.53929
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=0.825106 y=-17.40833 z=-65.0854
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=0.821773 y=-17.40834 z=-64.44684
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=0.367886 y=-17.40835 z=-63.99767
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=-0.270665 y=-17.40835 z=-64.001
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=-0.719826 y=-17.40835 z=-64.45489
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=-0.716493 y=-17.40834 z=-65.09344
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Degenerate poly detected in file (GMaxExport) mesh (mesh12)
WARNING: Face vertex 0 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 1 x=0.05264 y=-17.36032 z=-64.77014
WARNING: Face vertex 2 x=0.05264 y=-17.36032 z=-64.77014

and more...
 
I am trying to get a simple public toilet model into FSX and apart from the Degenerate poly detected, I only get the .mdl file to be written, not the.xml.

Is this all part of the same problem?:confused:
 
I am trying to get a simple public toilet model into FSX and apart from the Degenerate poly detected, I only get the .mdl file to be written, not the.xml.

Is this all part of the same problem?:confused:

If you are using GMax, you will not get an XML file. You will have to write your own.

If you are using Max, you will only get an XML file if you include the flag \XMLSAMPLE in the command line string when the running XtoMDL.exe compiler.
 
Ahh, thank you. I was following the excellent instructions on building a house from the FS9 SDK.:o

Looks like I need to search for the equivalent in the FSX SDK.

Thanks again :)

OK Aces, where is the new tutorial for getting a gmax model into FSX ??? The 2004 one was very easy to follow.
 
Last edited:
Back
Top