Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    ObjectData::Draw

    SDK Help
    0
    5
    515
    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
      Helper
      last edited by

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

      On 20/06/2006 at 15:57, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.102 
      Platform:   Windows  ; Mac  ;  Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      What are these 'passes' exactly?

      DRAWPASS_OBJECT Object pass
      DRAWPASS_BOX Box pass
      DRAWPASS_HANDLES Handle pass
      DRAWPASS_HIGHLIGHTS Highlights pass

      I understand DRAWPASS_OBJECT and DRAWPASS_HANDLES. The other two?

      Thanks,

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

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

        On 20/06/2006 at 23:28, xxxxxxxx wrote:

        just for completeness:

        when the object is drawn
        when the bounding box is drawn
        when object handles (such as those of a cube) are drawn
        when the (i.e. axis) highlighting is drawn

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

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

          On 20/06/2006 at 23:59, xxxxxxxx wrote:

          See, I don't go for the DRAWPASS_BOX as when the bounding box is drawn. When I tried that, nothing was drawn even though the bounding box showed (with GetDimension() implemented). If that really is what it is, then it doesn't work or is superceded by GetDimension().

          Interestingly enough, if I use DRAWPASS_HANDLES, my cross-hairs get drawn even though this plugin object has nothing to do with handles. Maybe there is an either or situation created by implemented GetDimension() or DrawHandles()?

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

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

            On 27/06/2006 at 01:06, xxxxxxxx wrote:

            Did you ever get a call to ObjectData::Draw() with type==DRAWPASS_BOX? My experience is that this pass is not even called for objects. Anyway, the supported passes for ObjectData::Draw() are OBJECT and HANDLES afaict. The rest are internal.

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

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

              On 27/06/2006 at 01:43, xxxxxxxx wrote:

              Never. I decided to stick with HANDLES as the crosshairs shouldn't be visible all of the time as with OBJECT. Just wish there was a way that they could be shown with multiple objects of the same type selected. 🙂

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