From: Josef G. <jos...@gm...> - 2007-10-30 10:26:13
|
Hi, I'm computing bounding boxes on nodes in this way: Pnt3f min, max; DynamicVolume volume; node->getWorldVolume(volume); volume.getBounds( min, max ); then building 6 planes using min and max; The resulting BoundingBox geometry is attached to the root node (I've a valid reason for not attaching it as a child of the bounded node) Boxes are OK as long as I set translations and scaling. when applying a rotation boxes stretch and look like as they get scaled... any reason for that? Am I computing the box volume correctly? Any help appreciated, Thanks -- Josef Grunig |