Scaling the matrix


RE: Scaling the matrix
#9
(2019-11-05, 17:35)Philippe Hurbain Wrote: The great thing is that in this mode, the part that was used as reference has a very simple "identity" matrix, all 0 except on the main diagonal where values are 1. These "1" are actually the scaling of the part in relative x/y/z directions. […] Since the length of the beam is oriented along blue Z axis, we'll need to change that third "1" on matrix diagonal.

Aha—so the important thing to know is that all scaling operations happen in the boxes along that diagonal. X-scaling in the top left box, Y-scaling in the center, and Z-scaling in the bottom right. The other boxes get used for rotations (and other functions like shear which we wouldn't be using), so as long as I'm using the part's local orientation (or the part isn't rotated), I'll only ever need to change one box for scaling along a single axis.

And am I accurately summing up what a matrix is to say that its 3 columns represent the x, y and z coordinates of each point being transformed, while its 3 rows represent movements of those coordinates along the x, y and z axes? And that's why, when we scale along the z axis, we're just taking each z coordinate (third column) and moving it a relative amount along the z axis (third row)? Or something like that…
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Scaling the matrix - by N. W. Perry - 2019-11-04, 17:30
RE: Scaling the matrix - by Johann Eisner - 2019-11-04, 20:32
RE: Scaling the matrix - by Travis Cobbs - 2019-11-04, 22:05
RE: Scaling the matrix - by Johann Eisner - 2019-11-04, 22:19
RE: Scaling the matrix - by N. W. Perry - 2019-11-05, 11:47
RE: Scaling the matrix - by Philippe Hurbain - 2019-11-05, 17:35
RE: Scaling the matrix - by Roland Melkert - 2019-11-05, 19:41
RE: Scaling the matrix - by Philippe Hurbain - 2019-11-05, 20:10
RE: Scaling the matrix - by N. W. Perry - 2019-11-06, 6:00
RE: Scaling the matrix - by Owen Dive - 2019-11-06, 9:33
RE: Scaling the matrix - by N. W. Perry - 2019-11-08, 15:35
RE: Scaling the matrix - by Travis Cobbs - 2019-11-08, 21:11
RE: Scaling the matrix - by Roland Melkert - 2019-11-08, 21:34
RE: Scaling the matrix - by N. W. Perry - 2019-11-09, 5:11
RE: Scaling the matrix - by N. W. Perry - 2020-03-28, 2:04
RE: Scaling the matrix - by Roland Melkert - 2020-03-28, 2:38
RE: Scaling the matrix - by N. W. Perry - 2020-03-28, 5:08
RE: Scaling the matrix - by Roland Melkert - 2020-03-28, 19:21
RE: Scaling the matrix - by N. W. Perry - 2020-03-28, 20:53
RE: Scaling the matrix - by Roland Melkert - 2020-03-28, 21:59
RE: Scaling the matrix - by N. W. Perry - 2020-03-29, 1:28

Forum Jump:


Users browsing this thread: 1 Guest(s)