Author Topic: PCS2 Freezing on exporting detail0 to pof  (Read 2727 times)

0 Members and 1 Guest are viewing this topic.

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
PCS2 Freezing on exporting detail0 to pof
See title.
The bar just goes to exporting detail0, and stops.
For an hour. Before I decided to stop it.

Might be an issue with the mesh, but it can't be because its hitting a poly/vertex limit or anything because I've exported higher poly models... :/

It exports to DAE and PMF fine, but it just refuses to write the POF.

Happens on 2.0.3 stable, 2.1 Alpha, and 2.1 Alpha with insignia editor.

Attached is the file in both DAE and PMF.

Am I just...doing something wrong (but I've exported like fifty models the same way no problem), or is this a bug?

[attachment deleted by admin]
(´・ω・`)
=============================================================

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: PCS2 Freezing on exporting detail0 to pof
You've got 4 identical polygons with
centroid at x = -55.8005333, y = -30.1753311, z = -201.328995
vertices:
x = -55.764801, y = -34.9662018, z = -201.328995
x = -55.2229004, y = -28.4267998, z = -201.328995
x = -56.4138985, y = -27.1329994, z = -201.328995
norm is in the positive z direction.

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: PCS2 Freezing on exporting detail0 to pof
So uh...
Mesh error?

I don't quite understand :P
(´・ω・`)
=============================================================

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: PCS2 Freezing on exporting detail0 to pof
Yes, mesh error. There are four copies of the same polygon at the same place; that's bad.

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: PCS2 Freezing on exporting detail0 to pof
Thanks, go it working now...
I ran it through optimize with 0.1 threshold and it got rid of three faces, which I presume were the duplicate ones :P
(´・ω・`)
=============================================================

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: PCS2 Freezing on exporting detail0 to pof
You've got 4 identical polygons with
centroid at x = -55.8005333, y = -30.1753311, z = -201.328995
vertices:
x = -55.764801, y = -34.9662018, z = -201.328995
x = -55.2229004, y = -28.4267998, z = -201.328995
x = -56.4138985, y = -27.1329994, z = -201.328995
norm is in the positive z direction.

How did you determine that was the issue.  It would be nice for these errors to show up instead of causing an infinite loop. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: PCS2 Freezing on exporting detail0 to pof
I used a debugger. This probably could be avoided by filtering out duplicate polygons or putting an upper bound on loop iterations.

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: PCS2 Freezing on exporting detail0 to pof
It would be great to get some kind of error message.  Not everyone that does conversions is a modeler.  Sometimes a quick low threshold weld will fix these things and sometimes it wont.  I've had pieces that I've looked at and fiddled with for hours and seemingly no reason they shouldn't convert but wont.  

Is there any kind of higher debugging or log generation like debug builds in FS2_Open? 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: PCS2 Freezing on exporting detail0 to pof
I don't see how an error message here could really help a non-modeler fix the problem. More important might be whether the converter is a coder.

This does seem like the most likely place for it to get stuck though.

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Minecraft
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: PCS2 Freezing on exporting detail0 to pof
I don't see how an error message here could really help a non-modeler fix the problem. More important might be whether the converter is a coder.

This does seem like the most likely place for it to get stuck though.

an error message would help because the user will know things have gone bad the moment it happens and not when they get frustrated with the waiting and decide to ctrl+alt+del in this case an hour later.  I have also hit a similar issue lately and because i didnt know it was a mesh problem i tried to convert the dae again so ran into the problem twice so knowing that there is a mesh issue means the user knows they have to go back to the source model to look for a problem
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline Spicious

  • Master Chief John-158
  • 210
Re: PCS2 Freezing on exporting detail0 to pof
Error message added. Let me know whether it helps.