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

    Drawing do 2D and 3D

    SDK Help
    0
    2
    285
    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

      On 13/03/2017 at 02:52, xxxxxxxx wrote:

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

      ---------
      Hi,
      yesterday I chased nasty bug in drawing 3D gizmo lines into viewports and then I realized that 2D BaseDraw functions probably silently sets basedraw matrix to screen matrix.

      I understand the reason why it works like this but still it is unexpected. Please add some note to documentation to 2D drawing functions that they also changes base draw matrix. Just as a hint for developers.

      Thank you 🙂

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

        On 14/03/2017 at 03:37, xxxxxxxx wrote:

        Hi,

        Thanks for reporting this unexpected behavior. I confirm the BaseDraw 2D drawing routines call bd->SetMatrix_Screen().
        A note will be added to these functions.

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