how would i make a matrix that skews a mesh. like this:
original:
+--------+
| |
+--------+
skewed:
+
|.+....\.......\.........\...+
.......\.|
.........+
i know its a crap example, but if you see what i mean is it possible? i don't see how, because its almost 'conditional', like you have to multiply the y axis coord by the x or something like that. but it happens on a per-vertex basis, whereas matrices are like one time things, that get applied uniformly. but if it is possible, how?
edit: after googling some more, i found out 'shear' is the same thing, but didn't find anything about matrices

edit like number 5: the pos edit thing is messing up my diagram, but it was basically a box the same width but the right side was dropped down a bit
[edited by - billybob on December 14, 2002 10:16:48 PM]
[edited by - billybob on December 14, 2002 10:17:58 PM]
[edited by - billybob on December 14, 2002 10:18:44 PM]
[edited by - billybob on December 14, 2002 10:19:46 PM]