Author Topic: Modelling in Freespace (and Bounding Boxes)  (Read 2211 times)

0 Members and 1 Guest are viewing this topic.

Offline Quanto

  • 28
  • Permanent Nostalgia Goggles
Modelling in Freespace (and Bounding Boxes)
Alright. I've produced a ton of models for my mod so far.
Most you all have already seen. However, I have one problem above all others, that I have only mentioned off-hand in IRC. Since there seems to be few modelers in IRC, I am going to put it out here, for all to see.
My models have inverted bounding boxes. FSO_Debug screams at me. And I'll be honest, I have no clue what a bounding box is, or how to make sure it ISN'T inverted.
So I'm appealing to my fellow modelers who have a lot more experience than I with this Engine, to explain to me, what causes an inverted bounding box, and how to fix it.

What's bringing all this up is that, Myself, AndrewofDoom, and a few alpha-testers, tried to run our first ever multi-player match of Stellar Assault. Every attempt ended with a Crash-to-Desktop. (For the clients, the host did not experience this). We ran debug, and got spammed with bounding box errors. Now we've known about them for a while, and I doubt they are the cause for the CTD in Multi, but we can't find the cause for the CTD until with fix the Bounding Box problem.
00:41:58 <DarthGeek>: I might do it, I need to build a reputation of someone who doesn't suffer fools
(DarthGeek on: "Relentless")

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Modelling in Freespace (and Bounding Boxes)
Quote from: Battuta
Be careful of the inverted bounding box error.  When you save a pof from RC2A, the bounding box gets inverted, and this can cause strangeness in-game.  To fix it, open the pof in PCS 2.0.3 and go the "Data" dropdown menu.  Second item from the bottom is "Purge BSP Cache."  Click this, then resave the model and your bounding boxes will be a-ok.
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Quanto

  • 28
  • Permanent Nostalgia Goggles
Re: Modelling in Freespace (and Bounding Boxes)
Spoon?
May I father your children?
00:41:58 <DarthGeek>: I might do it, I need to build a reputation of someone who doesn't suffer fools
(DarthGeek on: "Relentless")

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Modelling in Freespace (and Bounding Boxes)
Spoon?
May I father your children?

Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Modelling in Freespace (and Bounding Boxes)
Quote from: Battuta
Be careful of the inverted bounding box error.  When you save a pof from RC2A, the bounding box gets inverted, and this can cause strangeness in-game.  To fix it, open the pof in PCS 2.0.3 and go the "Data" dropdown menu.  Second item from the bottom is "Purge BSP Cache."  Click this, then resave the model and your bounding boxes will be a-ok.

While it's excellent advice, I totally didn't say that.

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Modelling in Freespace (and Bounding Boxes)
Quote from: Battuta
Be careful of the inverted bounding box error.  When you save a pof from RC2A, the bounding box gets inverted, and this can cause strangeness in-game.  To fix it, open the pof in PCS 2.0.3 and go the "Data" dropdown menu.  Second item from the bottom is "Purge BSP Cache."  Click this, then resave the model and your bounding boxes will be a-ok.

While it's excellent advice, I totally didn't say that.
I can't even find where the hell I found that post. I wonder what was in my drink.
Ah well, regardless it was of use for Quanto so it's all good  :p
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Modelling in Freespace (and Bounding Boxes)
It was Esarai, in the thread about the Kvasir.

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Modelling in Freespace (and Bounding Boxes)
I could have sworn it was you, but it was the BP logo playing tricks on me!

yeaaah...
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
Re: Modelling in Freespace (and Bounding Boxes)
Be sure to check your normals after the flip.  You might just end up with all your weapons firing into the model or not firing at all. 
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 Quanto

  • 28
  • Permanent Nostalgia Goggles
Re: Modelling in Freespace (and Bounding Boxes)
Yep its all good now
We played some SAFSO Multiplayer for a good 4 hours. **** was cash guys. Now we can really look into ship balance.
00:41:58 <DarthGeek>: I might do it, I need to build a reputation of someone who doesn't suffer fools
(DarthGeek on: "Relentless")

  
Re: Modelling in Freespace (and Bounding Boxes)
I thought this was fixed ages ago.  :confused:
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!"