Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Bounding box of plugin object

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 390 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post