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
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Q: DrawPolygonObject

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 243 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 03/10/2005 at 10:28, xxxxxxxx wrote:

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

      ---------
      In the draw function of a plugin object ( a generator ) i want to draw a polygon object at a certain position.

      But it seems that the object is always drawn with the matrix from bh->GetMg(). I don't know how to set my own matrix to move the object where i want to. Also it seems that the object's local matrix is completely ignored.

      I thought that the DRAWPOLYOBJECT_LOCALMATRIX flag has something to do with it, but it seems to do nothing.

      Has anyone exerience with this ?

      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 14/10/2005 at 13:26, xxxxxxxx wrote:

        I can't confirm this, at least not in 9.50x. With  DRAWPOLYOBJECT_LOCALMATRIX set the object seems to be drawn at bh->GetMg() * object->GetMl(). (Otherwise it seems to be drawn at object->GetMg().)

        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 18/10/2005 at 03:03, xxxxxxxx wrote:

          Sorry i have forgotten to tell that i had the DRAWPOLYOBJECT_EDITMODE flag set. It seems to work here, too if this flag is not set.

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