Changing a matrix from right-handed to left-handed coordinate system

前端 未结 7 1545
鱼传尺愫
鱼传尺愫 2020-11-28 06:52

I would like to change a 4x4 matrix from a right handed system where:
x is left and right, y is front and back and z is up and down

to a left-handed system where

相关标签:
7条回答
  • 2020-11-28 07:31

    It depends if you transform your points by multiplying the matrix from the left or from the right.

    If you multiply from the left (e.g: Ax = x', where A is a matrix and x' the transformed point), you just need to swap the second and third column. If you multiply from the right (e.g: xA = x'), you need to swap the second and third row.

    If your points are column vectors then you're in the first scenario.

    0 讨论(0)
提交回复
热议问题