How do I do what is in the picture?
I took the point * change of coordinate matrix * scale matrix but it didn't work.
[1,1,0,1] * [1 0 0 0, 0 1 0 0, 0 0 1 0, 2 2 0 1] * [2 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1]
this didn't work.
How do I do what is in the picture?
I took the point * change of coordinate matrix * scale matrix but it didn't work.
[1,1,0,1] * [1 0 0 0, 0 1 0 0, 0 0 1 0, 2 2 0 1] * [2 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1]
this didn't work.
Ok. after I multiply all these matrix with the point, will one matrix do it all for all four points of the box. or do I have to change the coordinate of the points .that is one negative x value and the other positive .
like in order to make [1,1,0] to [4,1,0]......I use point [1,1,0]
to make [1,1,0] to [0,1,0]..I use point [-1,1,0]