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
    • Login
    The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.

    Drawing do 2D and 3D

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 302 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

      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 Offline
        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