Re:Introduction to the Math of Computer Graphics
by pandaman on Wednesday December 30, 2015 @01:35PM
(#10813473)
Matrix multiplication by vector and vice versa is a multiplication by at least one non-square matrix. But matrix addition, on the other hand, is something I have never seen come up in graphics.
[ Parent
| on HN ]
Re:Introduction to the Math of Computer Graphics
by codeofthedamned on Wednesday December 30, 2015 @11:49PM
(#10816202)
Translation itself is not a linear transformation. To simply translate a vertex is a matrix addition(subtraction) problem.
The only reason that it is possible in the transformation matrix is because of the addition of the fourth parameter in a vertex [x y z 1] to create a homogenous linear system. This allows the translation to become a part of the transformation matrix.
Re:Introduction to the Math of Computer Graphics
by pandaman on Thursday December 31, 2015 @01:56AM
(#10816587)
I am not sure what you mean. If by "matrix addition" you meant adding vectors then it's obvious but adding actual matrices won't give you any translation operators because no matter how many matrices you have added together you still end up with a matrix, which, indeed, can only represent linear operators.
Re:Introduction to the Math of Computer Graphics
by codeofthedamned on Thursday December 31, 2015 @03:02AM
(#10816756)
I believe we are mincing words with the added confusion of two mathematical meanings for the word vertex in this discussion.
The single row matrix, called a vertex, and a Euclidean vertex which we use to represent the points in the geometry, and happen to store in a vertex (matrix).
I do agree with your statement.
[deleted]
Re:Introduction to the Math of Computer Graphics
by pandaman on Wednesday December 30, 2015 @01:47PM
(#10813547)
I was never a fan of special cases in Math. Especially when it's not a special case. Saying that an element in the product matrix is a product of a row taken from one matrix and a column from another does not require matrices to be square and fits all possible applications of matrix multiplication already.