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

    DRAWPASS::HANDLES Not Effect DRAWOBJECT()

    Cinema 4D SDK
    r20 c++
    2
    6
    1.2k
    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.
    • M
      mike
      last edited by mike

      Hi,
      I want use DRAWOBJECT(...) draw my object in front everything like handles, so i set DRAWPASS::HANDLES, but nothing show in my view(DRAWPASS::OBJECT is ok but not front other), this is my code,what shoud i do?

      bd->DrawObject(bh,myobject,DRAWOBJECT::USE_CUSTOM_COLOR,DRAWPASS::HANDLES,nullptr,Vector(0,0,1));
      

      Hope your help!

      1 Reply Last reply Reply Quote 0
      • M
        mike
        last edited by

        maybe I misunderstood the meaning of drawpass? how could i draw my object in front everything like handles?

        1 Reply Last reply Reply Quote 0
        • ManuelM
          Manuel
          last edited by

          hello,

          just a quick question,from where are you drawing, an object, a Scenehook ..

          Cheers
          Manuel

          MAXON SDK Specialist

          MAXON Registered Developer

          M 1 Reply Last reply Reply Quote 1
          • M
            mike @Manuel
            last edited by mike

            @m_magalhaes i am not use scenehook before,i will see how to use it,thank you for your help

            1 Reply Last reply Reply Quote 0
            • ManuelM
              Manuel
              last edited by

              hello,

              You can have a look at 2D viewport drawing using a SceneHook[URL-REMOVED] , Drawing a spline in the viewport[URL-REMOVED] also can help.

              Don't hesitate to ask, we'll be happy to help.

              Cheers
              Manuel


              [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

              MAXON SDK Specialist

              MAXON Registered Developer

              M 1 Reply Last reply Reply Quote 0
              • M
                mike @Manuel
                last edited by

                @m_magalhaes thank you : ) : ) : )

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