Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

Dot .. and other questions / updating to r18

 Post Reply Post Reply
Author
Message
ello View Drop Down
Member
Member


Joined: 2005 Feb 04
Location: Germany
Online Status: Offline
Posts: 571
Post Options Post Options   Quote ello Quote  Post ReplyReply Direct Link To This Post Topic: Dot .. and other questions / updating to r18
    Posted: 2017 Sep 28 at 9:38am

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


Edited by ello - 2017 Sep 28 at 9:59am
___
... now that i know how to use the debugger its much more fun
Back to Top
gr4ph0s View Drop Down
Member
Member


Joined: 2015 Jul 07
Location: France
Online Status: Offline
Posts: 429
Post Options Post Options   Quote gr4ph0s Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Sep 28 at 10:09am
As written here matrice can now only be multiplied with a vector from the right.
https://developers.maxon.net/docs/Cinema4DCPPSDK/html/page_list_of_name_changes_in_r15_api.html

So that give us
splineObj->GetMg() * vPosition
Technical lover.
Back to Top
ello View Drop Down
Member
Member


Joined: 2005 Feb 04
Location: Germany
Online Status: Offline
Posts: 571
Post Options Post Options   Quote ello Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Sep 28 at 10:59am
thank you... 

Edited by ello - 2017 Sep 28 at 11:00am
___
... now that i know how to use the debugger its much more fun
Back to Top
S_Bach View Drop Down
Forum Moderator
Forum Moderator
Avatar

Joined: 2011 Jun 27
Online Status: Offline
Posts: 1344
Post Options Post Options   Quote S_Bach Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Sep 29 at 1:39am
Hello,

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

best wishes,
Sebastian
SDK Support Engineer
Back to Top
ello View Drop Down
Member
Member


Joined: 2005 Feb 04
Location: Germany
Online Status: Offline
Posts: 571
Post Options Post Options   Quote ello Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Sep 29 at 4:49am
yes, thank you... already managed to update everything to work. even under VS2017 btw.
___
... now that i know how to use the debugger its much more fun
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.109 seconds.