John Calsbeek
Reputation
Top tag
Next privilege 250 Rep.
 Nov25 comment How to find camera position and rotation from a 4x4 matrix? @LukasSchmelzeisen If you have an affine transformation matrix, then it should match the form where the upper-left 3x3 is R, a rotation matrix, and where the last column is T, at which point the expression in question should be identical to -(R^T)T. Nov25 comment How to find camera position and rotation from a 4x4 matrix? @LukasSchmelzeisen It should work, but it may not apply to your situation. If M changes from one space to another, then that expression picks off the last column of M^-1, which is the translation in the original space that reverses the translation performed by M. If M can be thought of as moving a camera to the origin, then that expression produces the position of the camera in the original space. Feb13 awarded Autobiographer Jan6 accepted Is it possible to split a single sample from a discrete uniform distribution into two samples from two smaller distributions? Jan5 asked Is it possible to split a single sample from a discrete uniform distribution into two samples from two smaller distributions? Dec13 comment How to find camera position and rotation from a 4x4 matrix? The camera position is just solving the equation that user7530 also posted. Because R is a rotation matrix, transposing it does the same thing as taking its inverse; so you can think of it as transforming the value in reverse. Nov24 comment How to find camera position and rotation from a 4x4 matrix? That's correct. Nov22 revised How to find camera position and rotation from a 4x4 matrix? fix camera position expression Nov22 comment How to find camera position and rotation from a 4x4 matrix? "Affine transformation" means that the transformation can do anything a linear transformation can do (rotate, scale, shear) plus also translate. The $4 \times 4$ homogeneous matrix is capable of doing perspective projections, but this one doesn'tâ€”as would be expected by convention for something called the "camera matrix." The remaining intrinsic parameters, in this case, would control the projection. Nov22 awarded Teacher Nov21 answered How to find camera position and rotation from a 4x4 matrix? Jun30 awarded Scholar Jun30 comment Is there such a thing as the “edge-face dual” of a polyhedron, and is the “edge-face dual” of a cube a rhombic dodecahedron? Thanks. I think the rhombic dodecahedron is what I asked for, but not actually what I want. I'm probably gonna have to give up face-transitivity in the end. Jun30 accepted Is there such a thing as the “edge-face dual” of a polyhedron, and is the “edge-face dual” of a cube a rhombic dodecahedron? Jun30 awarded Student Jun30 asked Is there such a thing as the “edge-face dual” of a polyhedron, and is the “edge-face dual” of a cube a rhombic dodecahedron? Jun9 revised How do I get the square root of a complex number? it's -> its Jun9 suggested approved edit on How do I get the square root of a complex number? Jun4 awarded Supporter Jun4 awarded Editor