As a personal brain exercise, I've recently been trying to work out the math involved with rotating vertices around an arbitrary axis in 3D space.
To do so, I've been relying very heavily on the following page:
Conceptually, I get everything, but now, I want to verify everything in the link above by doing the math necessary to work out the matrix that results from Txz-1, Tz-1, Rz(θ), Tz, Txz (please see section 5.1 in the link above).
The link above shows the matrices used for Txz, Tz and Rz(θ), and I was able to get the matrices required for Txz-1 and Tz-1 thanks to everyone's help here on this question:
How do I calculate the inverse of these matrices?
At this point, I have all five matrices I need, but I have to admit, as I start doing the matrix multiplication, things get way too hairy for me to handle real quick.
I have tried several times to first multiple Tx by Txz, then multiply the product of that by Rz(θ), and then multiple the product of that by Tz-1, and finally multiply the product of that by Txz-1, but I can't seem to get even remotely close to the matrix shown in section 5.1.
One technique I tried was substituting A for sqrt(u^2 + v^2) and B for sqrt(u^2 + v^2 + w^2), but even so, the math was too much for me to handle.
Could someone please offer me some advice for how to multiply these five matrices together so that I can confirm the result shown in section 5.1 in the link above?
Thank you very much.