Author Topic: Infinite Recursive Loop? (Converting COBs to POFs)  (Read 1158 times)

0 Members and 1 Guest are viewing this topic.

Offline Aardwolf

  • 211
  • Posts: 16,384
    • Minecraft
Infinite Recursive Loop? (Converting COBs to POFs)
I think it's trying to do an infinite recursive loop when I try to convert my cob files to pofs using PCS. I get this error:

Fatal Error                                                                                                         X

Stack overflow protection was engaged,
Please contact Kazan and provide a copy of this model.
Compile Aborted after GenerateBSP reached depth of 1000 recursions

[OK]

When I compile it in WinCOB2POF I get a model, but it only opens in ModelView! Often it tells me it couldn't find the textures, but I recently figured out how to fix this in TrueSpace (I think). When I load it in PCS, however, I get this error:

Fatal Error                                                                                  X

This POF File failed a version check - are you sure this is a FS2 POF?

[OK]

I even tried opening it in Segeltuch, but that didn't work either. There was no error message, but it didn't load any model, textures, or wireframe either. I don't really like Segeltuch, PCS, or TrueSpace; it'd be nice if someone could make a converter that goes directly from my favorite editor, Wings3D, to .POF files, but that doesn't seem likely to happen any time soon.

...

Nobody willing to take the challenge? Fine.

...

Wings3D seems to have the best interface; it's mostly mouse based, with some keyboard, but it only takes a little while to learn. The only hard part was figuring out that almost all actions require a right-mouse click to bring up the menu.

^^^
This is why I like Wings3D and think more people should work on a converter program or foolproof method.

Please help. Thanks in advance,
Aardwolf.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: Infinite Recursive Loop? (Converting COBs to POFs)
it's a result of bad geometry - you have two or more polygons with coincident centroids

if I ever manage to get myself working on PCS2 again I will probably be able to have geometry analysis in the PCS2.1 roadmap
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Aardwolf

  • 211
  • Posts: 16,384
    • Minecraft
Re: Infinite Recursive Loop? (Converting COBs to POFs)
Well, I looked all over my model, only to realize that... I don't know what that means. I don't seem to have any polygons that intersect eachoter or are identical. Should I try removing all of the polygons and re-adding them one at a time? I don't know if that's possible with Wings3D. It may be the first disadvantage ever discovered in it, :sigh:!

 

Offline Vasudan Admiral

  • Member
  • 211
    • Twisted Infinities
Re: Infinite Recursive Loop? (Converting COBs to POFs)
From the FS Wiki:
If PCS gives a "Too many polygons in same average location!" error, it can mean one (or both) of two things. Either there is a duplicate of one of the objects in the SCN in the EXACT same position as another of the EXACT same shape and size, or your object is too small in TS for it to be able to clearly tell the difference between polygon locations.
To fix the first problem, find the duplicate object and delete or move it. To fix the second, scale the whole ship up in TrueSpace to the size you want it to appear as in Freespace - meter for meter. Then, before converting, set PCS's scaleing factor to 1 rather than 20 and convert (Conversion > Options). That should fix it by telling PCS that one TrueSpace meter should equal one Freespace meter.
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline Aardwolf

  • 211
  • Posts: 16,384
    • Minecraft
Re: Infinite Recursive Loop? (Converting COBs to POFs)
Okay, I got that working; I had to scale my fighter from 20 Wings3D units across to 200, and then go through the process; instead of 1 for the size, i had to use .1 instead.

Now it's black. How do I get textures to work? Either I've forogotten how I did it earlier (most likely) or it isn't working anymore (less likely). Is there a way to change textures in PCS? Because changing the text for the texture number had no effect for me.

 
Re: Infinite Recursive Loop? (Converting COBs to POFs)
Also the newer versions of PCS are more senstive to the stack overflow problem than the older ones
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
Re: Infinite Recursive Loop? (Converting COBs to POFs)
More sensitive?   Ok time to track down PCS1.0000000   :P

KAZAN, stop playing WOW... he he
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Re: Infinite Recursive Loop? (Converting COBs to POFs)
more sensative because they're producing more accurate models :D

and I never played World of Whorecraft and I resent the idea that I did - I played Evercrack - and quit cold turkey about 3 months back.. I've just been busy trying to get back into shape and going to soccer matches supporting my local team the Des Moines Menace (Defending PDL champions)
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir