Why not a 3x3 matrix? Why is everything arranged in a 4x4 matrix exactly like this? Why is there the last line filled with zeros and one at the end? I asked these questions the day before, decided to investigate the issue and tell what I found out.
In the article, we will be interested only in affine transformations, and in particular rotation, scaling and movement, which are actively used in graphics programming and game development in general.
: . , , , (Aโ x). , , , (+b).
T, x
, b x . x x', :
x ( ), b ( ).
, , . M, :
x' = 3x + 4 (3x +4 ) .
, ( 3x [3]), (x+4) , M x.
:
+4 +4y, y, x ,
2x2, x' = 3x+4 x, . . , .
2x2 , , - y, +4y , +4, x :
, , , , 3x+4 x' - y' y' ,
. : y' = 1 = 0 โ x + 1 โ 1
, x , .
(a), (b) (0 1) y' 1, x' , .
,
, , - z, y .
22 . b .
x' y' , , z' 1 .
, () , () :
:
Computing 2D affine transformations using only matrix multiplication
Brilliant. Linear Transformations
Explaining Homogeneous Coordinates & Projective Geometry
-
Can non-linear transformations be represented as Transformation Matrices?
Linear transformations and matrices | Essence of linear algebra, chapter 3