Author Topic: Inverted Bounding box error?  (Read 2241 times)

0 Members and 1 Guest are viewing this topic.

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Inverted Bounding box error?
Hey all!

So I am trying to use the community-made ship GTT Corsair (http://www.hard-light.net/wiki/index.php/GTT_Corsair) in my mod. After fixing a few early errors (incomplete table formatting) I've run into this error upon trying to view the ship in the tech room (my mod launches just fine).

Code: [Select]
Inverted bounding box on submodel 'detail0' of model 'GTT_Corsair.pof'!  Swapping values to compensate.
ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! SCP_DumpStack + 354 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! Warning + 421 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! read_model_file + 4243 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! model_load + 782 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! techroom_select_new_entry + 450 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! techroom_do_frame + 782 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! game_do_state + 333 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! gameseq_process_events + 237 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! game_main + 782 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! WinMain + 330 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! __tmainCRTStartup + 358 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! WinMainCRTStartup + 15 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

Any help would be appreciated - thanks guys!

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Re: Inverted Bounding box error?
Probably what it says on the tin: the bounding box is inverted. A bounding box is defined by two points, the min corner and the max corner. Almost invariably, the min corner is supposed to be negative on all axes and the max corner positive on all axes. On that submodel, it's not. You ought to be able to fix it in PCS2 by just using the handy reset buttons next to those values.

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Inverted Bounding box error?
Probably what it says on the tin: the bounding box is inverted. A bounding box is defined by two points, the min corner and the max corner. Almost invariably, the min corner is supposed to be negative on all axes and the max corner positive on all axes. On that submodel, it's not. You ought to be able to fix it in PCS2 by just using the handy reset buttons next to those values.

Thanks, I didn't know what a bounding box was before. :)

Problem is, I can't find that reset button. There's no button next to the min and max values. Could you post a screenshot for me, please?

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Inverted Bounding box error?
The alternative is to load the model in PCS2, use the "Purge BSP cache" option (which is in one of the toolbar menus) and resave it.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Re: Inverted Bounding box error?
Problem is, I can't find that reset button. There's no button next to the min and max values.
Then you're using an older build of PCS2. Anything newer than a few years old has the buttons (also you can resize the sidebar to be wider to make sure the buttons aren't just being pushed out the window, which happens to me at default sidebar size in the header tab but not on the submodels tab).

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Inverted Bounding box error?
Purging the BSP cache worked just fine, the error is gone now. Thanks a bunch!

Unfortunately, I am also getting this error:

Code: [Select]
Rotation without rotation axis defined on submodel 'detail0' of model 'GTT_Corsair.pof'!
ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! SCP_DumpStack + 354 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! Warning + 421 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! read_model_file + 5985 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! model_load + 782 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! techroom_select_new_entry + 450 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! techroom_do_frame + 782 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! game_do_state + 333 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! gameseq_process_events + 237 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! game_main + 782 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! WinMain + 330 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! __tmainCRTStartup + 358 bytes
fs2_open_3_7_2_NO-SSE-DEBUG.exe! WinMainCRTStartup + 15 bytes
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes

Can someone please help me with this too?

 

Offline HLD_Prophecy

  • PVD_Hope in a former life
  • 29
Re: Inverted Bounding box error?
Nevermind, I solved the error on my own. Looks like some of the SubObjects were given a "Rotation" movement type for no reason.

Thanks a bunch guys! :D