Hello,

I get some weird behaviour that I do not understand. I load several
collada objects, that are very similar and simple. When I turn on
debugbb, one of the objects have the correct box and all the rest have
too big boxes.

I'm 99.97% sure that there isn't any garbage that would account for
the bigger sizes. The only difference is that the one that's correct
is sort of cubical, while the others a bit more assymetric. What could
be the reason?

I've been studying the code for hours trying to understand how an
object's or objectcontainer's _minXYZ/_maxXYZ is calculated, but it's
quite a maze... ;)

A specific question, is the bounding box meant to always be cubic? Or
*should* it actually outline the object?

The reason i'm asking is I get rendering problems, objects further
away rendered in front of closer objects. Can have a look. The "lamps"
in the windows are the object with correct BB:
http://spel.leanforumbygg.se/simlean2/visualization-debug.swf

Regards,
Robert Andersson

Reply via email to