I mean... i prolly lost count for the time i spent thinking about it and i still can't understand the matrix thing and how it translates the DC. i was masking this thing that works with the members of xform, but it's not working. Can someone look into it? please?
What youre gona do with the matrix? I spent 2 years before understand how the matrix worked :greenclp:
(http://i52.photobucket.com/albums/g8/mew281/Animated-Long-1.gif)
Hi,
a matrix allows to combine several transformation: rotate, scale, shear, translation and reflection (http://msdn.microsoft.com/en-us/library/windows/desktop/dd145224(v=vs.85).aspx). Each of this transformation can be described through a matrix. The resulting transformation depends on the order in which the matrices get combined (matrix multiplication, CombineTransform (http://msdn.microsoft.com/en-us/library/windows/desktop/dd183466(v=vs.85).aspx)).
For example, if you want to rotate around a specific point:
1. translate point to origin: -Px, -Py
2. rotate
3. translate +Px,+Py
In the attachment an example program that allows to play with transformations.
thanks for another nice example, qWord :t
Nice example :t
Cool. 8)
Jesus....QWord...You're the master. Long time since last here. Hi All.