http://houdinihelp.ru/vex/functions/maketransform [houdinihelp.ru]
“The vectors passed in are not normalized meaning that scales should be preserved in construction of the transform.”
What does this means?
I can't understand something about maketransform VEX function in docs.
1391 1 0- Garry_cg
- Member
- 7 posts
- Joined: Dec. 2017
- Offline
- brianBurke
- Member
- 192 posts
- Joined: Nov. 2008
- Offline
hi garry. if non-normalized vectors are used to build a matrix ie
the non-one length of the vectors will result in a scale effect of the matrix in addition to the rotation. since the lengths of these vectors are not the same, this results in a shear.
normalizing the vectors results in a rotation-only matrix.
here's an example showing the effect
vector n_n = { 0.5, 0.5, 0 }; vector n_up = { 0.5, 0, 1 }; mtx = maketransform(n_n, n_up);
the non-one length of the vectors will result in a scale effect of the matrix in addition to the rotation. since the lengths of these vectors are not the same, this results in a shear.
normalizing the vectors results in a rotation-only matrix.
here's an example showing the effect
-
- Quick Links