I'm familiar (well, since yesterday) with how homogeneous coordinates amount to adding a dimension in which we can "shear" to encode translation. I think the thing I'm looking for is a mathematically lucid and computationally thoughtful text on the subject.
Also, I'm still curious why exactly the matrix-vector formulation is better. I thought encoding things as matrix-matrix helped with memory locality, etc.?
Full disclosure, I got interested in projective geometry because the Hilbert metric was used in a proof that every "positive" Markov transition matrix will have a unique stationary distribution for its corresponding process. Then I wanted to tie things together with CS and found this. I want to get very "tangible."
So like... is there a good discussion that ties the two together?
but really i dont think you need any motivation beyond "A(0)=0 is a problem for translation" or a justification beyond "lift it to a subset of a higher dimensional space, then restrict yourself to the linear operators that give you closure, so it looks kinda like a subspace even if it isn't"
I want to get very "tangible"
i don't know what word you meant to use, but that is the wrong one
no, matrix form hurts memory locality because it is relatively wasteful with memory
you're using 12 elements (plus 4 implicit) to represent (usually) Sim(3), which is 7 dimensional. The extra 5 elements come from shears (3) and uneven scaling (2), which are rarely used.
however it is very SIMD friendly, and is FLOPs efficient for the most common case, for the reason i outlined before
(technically if there is no shear or uneven scaling you could have another 3 elements be implicit, or represented by a single bit if you want to support improper rotations, but that usually tips the space-time tradeoff in the other direction)
View all comments
Show parent comment
1
u/RepresentativeBee600 Mar 16 '26 edited Mar 16 '26
I'm familiar (well, since yesterday) with how homogeneous coordinates amount to adding a dimension in which we can "shear" to encode translation. I think the thing I'm looking for is a mathematically lucid and computationally thoughtful text on the subject.
Also, I'm still curious why exactly the matrix-vector formulation is better. I thought encoding things as matrix-matrix helped with memory locality, etc.?
Full disclosure, I got interested in projective geometry because the Hilbert metric was used in a proof that every "positive" Markov transition matrix will have a unique stationary distribution for its corresponding process. Then I wanted to tie things together with CS and found this. I want to get very "tangible."
So like... is there a good discussion that ties the two together?