3D Graphics Processing - How to calculate modelview matrix

前端 未结 2 1461
独厮守ぢ
独厮守ぢ 2021-02-01 10:16

I am having trouble understanding the math to convert from object space to view space. I am doing this in hardware and I have the Atranspose matrix below:

ATranspose = <

2条回答
  •  庸人自扰
    2021-02-01 10:47

    If you transpose ATranspose in the second variant, i.e.

    [x,y,z,w]^T = ATranspose^T * [x',y',z',w']^T
    

    BTW, ^T means transpose so the original author probably meant

    [x,y,z,w] = [x',y',z',w'] * A^T
    

    and rewritten

    [x,y,z,w]^T = A^T * [x',y',z',w']^T
    

    then all these formulations are equally correct.

提交回复
热议问题