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

    Dot .. and other questions / updating to r18

    SDK Help
    0
    5
    712
    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 28/09/2017 at 09:38, xxxxxxxx wrote:

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

      ---------
      Hi, while painfully updating my plugin i come along various problems, one of them is the multiplication of a vector with a matrix, which i previously did like this:
      vPosition*splineObj->GetMg()

      How do i do this now?

      cheers,
      Ello

      edit: uh oh... found it.. can only be multiplied from the right

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

        On 28/09/2017 at 10:09, xxxxxxxx wrote:

        As written here matrice can now only be multiplied with a vector from the right.
        https://developers.maxon.net/docs/cpp/2023_2/page_list_of_name_changes_in_r15_api.html

        So that give us
        splineObj->GetMg() * vPosition

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

          On 28/09/2017 at 10:59, xxxxxxxx wrote:

          thank you...

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

            On 29/09/2017 at 01:39, xxxxxxxx wrote:

            Hello,

            you find information on how to use a Matrix also in the Matrix Manual.

            best wishes,
            Sebastian

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

              On 29/09/2017 at 04:49, xxxxxxxx wrote:

              yes, thank you... already managed to update everything to work. even under VS2017 btw.

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