Bounding box of plugin object

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 08/04/2008 at 23:54, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R9-R10.5 
Platform:   Windows  ; Mac  ;  Mac OSX  ; 
Language(s) :     C++  ;

---------
I'm not expecting much but figured to ask nonetheless. Unfortunately, there is no 'custom' method to draw the bounding box (though the DRAWPASS_BOX may be appropriate here?). My plugin bones are not directed by the initial orientation of the bone but by an origin/endpoint which are independent of this orientation so that the bounding box is not necessarily aligned by a matrix rotation but by the vector direction of the origin/endpoint. I'll try the DRAWPASS_BOX and see how that works out but I am not sure that will bypass the default Mp/Rad settings or if these settings can be combine with the DRAWPASS_BOX to show the dimensions of the bone and direction correctly.

Thoughts, please.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/04/2008 at 01:25, xxxxxxxx wrote:

I think it is not possible to draw a custom bounding box, the Cinema 4D joints suffer the same problem. I will ask the developers though.

cheers,
Matthias

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/04/2008 at 08:47, xxxxxxxx wrote:

Yes, the DRAWPASS_BOX was never called in Draw(). At least I'm not alone. :) Thank you for the information and will await their answer.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/04/2008 at 14:57, xxxxxxxx wrote:

Howdy,

Right, I think the bounding box in Cinema is an AABB that is aligned to the object's axis, so I don't think it is possible to change that.

There also seems to be somewhat of a bug in the way the standard bounding box is drawn, it's especially evident with C4D joints, and I also have problems with it and my CD Joints. :o(

Adios,
Cactus Dan