Transformation Matrix
Transformation Matrix
I'm rotating LAS files and I can't understand where the rotation takes place.
To understand it, I built the rotation matrix with a rotation of 30° with respect to the Y axis and I find the situation that I enclose: where the rotation take place?
Can I choose and modify it in any way?
This is the Matrix, in Attach the result
0.866025 0 -0.5 0
0 1 0 0
0.5 0 0.866025 0
0 0 0 1
THANK YOU
Gabriele
Re: Transformation Matrix
The rotation is always about (0, 0, 0) by default.
The transformation is composed of a rotation and a translation (P' = R.P + T). So you can theoretically 'recenter' the cloud at the end of the process.
However, this can be hard to guess, so you can do this in 3 steps:
1) translate the cloud so that its center is in (0, 0, 0)
2) rotate the cloud
3) apply the inverse translation (1)
The transformation is composed of a rotation and a translation (P' = R.P + T). So you can theoretically 'recenter' the cloud at the end of the process.
However, this can be hard to guess, so you can do this in 3 steps:
1) translate the cloud so that its center is in (0, 0, 0)
2) rotate the cloud
3) apply the inverse translation (1)
Daniel, CloudCompare admin