Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Taristin on December 13, 2003, 08:47:47 pm

Title: Bounding Boxes...?
Post by: Taristin on December 13, 2003, 08:47:47 pm
What, exactly, determines the amout of bounding boxes a vessel has?

I have a pof that I'm fooling with, but would like to use in modelview(upped version) to edit subsystems, and turrets and the like, but I get a 'too many bounding boxes' error.  Supposedly there's more than 488,000.:shaking:  I don't get it, especially since if the model is smaller in size, it will work. :confused:

Anyone can explain it to me, or has the means to edit the coding of modelview to make it have some extremely high limits (50k polies, and 3mil+ bounding boxes) would be greatly appreciated. ;)
Title: Bounding Boxes...?
Post by: Flaser on December 13, 2003, 09:45:31 pm
Hmm...to begin with I'm not a coder.

On the other hand what I know is that FS stores the data for collision detection in a simplified geometry (or boxy representation) of the model.

So smg. in you model resulted in too many boxes being created for collision detection.

Contact coders to trace the root of the problem.

That's my 2 cents.
Title: Bounding Boxes...?
Post by: Bobboau on December 13, 2003, 09:55:53 pm
it's generaly determined by the complexity of the model
Title: Bounding Boxes...?
Post by: diamondgeezer on December 13, 2003, 09:56:57 pm
Try asking Kazan or one of the other gods to have a look at the offending model
Title: Bounding Boxes...?
Post by: Vasudan Admiral on December 13, 2003, 10:09:01 pm
you might have the old version of the upped limits one. try this one: http://www.geocities.com/vasudanad/modviw32.zip
if that doesn't work, then it is the model :)

what happened was that in the first version i uploaded, i think i accidentally lowered the bounding box limit somehow. i got that same error today, and that version there seemed to fix it :)
Title: Bounding Boxes...?
Post by: Taristin on December 14, 2003, 10:02:21 am
Sweet! VasAd! Thanks. :D  It works now... :)
Title: Bounding Boxes...?
Post by: Kazan on December 17, 2003, 12:11:48 am
IIRC 1 bbox / polygon

modelview may also be extracting the BBoxes stored inline in the sortnorms as well - and that's much more variable and is dependant on volume