|
|
"Kenneth" <kdw### [at] gmailcom> wrote:
> That is also my usual method of playing with matrices, ha-- because I still have
> a hard time understanding how they work and how to use them.
A matrix is nothing more than a statement of the end position of each basis
vector after the transformation.
For instance, when I do a shear along x, what I do is take "y" (<0, 1, 0>) and
shit it along the x-axis. Maybe make it become <0.5, 1, 0>.
So matrix {
1, 0, 0,
0, 1, 0,
0, 0, 1,
0, 0, 0
}
becomes
matrix {
1, 0, 0,
0.5, 1, 0,
0, 0, 1,
0, 0, 0
}
Just think of the matrix operator as
matrix {
x,
y,
z,
translate <a, b, c>
}
and your matrix transform is
matrix {
new_x,
new_y,
new_z,
translate <a, b, c>
}
https://www.youtube.com/watch?v=kYB8IZa5AuE
https://www.f-lohmueller.de/pov_tut/trans/trans_000e.htm
Post a reply to this message
|
|