Timeline for How to use the rotation matrix calculated by Matlab in Blender?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 17, 2021 at 16:00 | comment | added | Noella | Thanks, it was that. I tried what you told me. The position of my camera does not match with your screenshots. Is it possible by comment to share what I have on my screen and the code? | |
Mar 17, 2021 at 11:11 | comment | added | batFINGER |
Sounds like you have missed some brackets.a = ((1, 0), (0, 1)) as opposed to b = (1, 0, 0, 1 ) first element of a is a sequence of floats, first element of b is a float.
|
|
Mar 17, 2021 at 11:06 | comment | added | Noella | Hi, Thanks for your answer. I tried to write the script step by step, according to your answer. I wrote this script (I put it in my next comment) but I have an error when I try to calculate Camera.matrix_world = T @ R.transposed().to_4x4() I searched on the internet, but I found nothing. Why I have the following message: expected a sequence of float, not float. Otherwise, I will try this script when the problem on this line will be sorted out, and see if it is the solution of my problem or the start of a possible solution. Thanks a lot for your help. | |
Mar 15, 2021 at 14:34 | history | answered | batFINGER | CC BY-SA 4.0 |