Geo-transform Extension

Version 10 (Jan Schacher, 08/03/2009 10:58 am)

1 1
h1. Geo-transform Extension
2 1
3 1
describe a standard set of geometry matrix transforms, as found in computer graphics and 3D modelling:
4 1
http://en.wikipedia.org/wiki/Affine_transformation
5 1
6 1
transform a (set of) point(s) by use of a geometry matrix.
7 2 Jan Schacher
common operations:
8 6 Jan Schacher
9 1
* translate
10 1
* rotate
11 1
* scale
12 1
* shear
13 6 Jan Schacher
14 5 Jan Schacher
these operations are non commutable, order *_is_* important.
15 5 Jan Schacher
16 10 Jan Schacher
transmit either the factors controlling the individual transforms:
17 10 Jan Schacher
18 10 Jan Schacher
<pre>
19 10 Jan Schacher
/translate 0.0 0.0 0.0
20 10 Jan Schacher
/rotate 0.0 0.0 90.0
21 10 Jan Schacher
/scale 1.0 1.0 1.0
22 10 Jan Schacher
/shear 0.0 0.0 0.0 0.0 0.0 0.0
23 10 Jan Schacher
</pre>
24 10 Jan Schacher
25 8 Jan Schacher
or the entire matrix, in specific matrix format (TODO:)
26 8 Jan Schacher
27 8 Jan Schacher
28 8 Jan Schacher
29 7 Jan Schacher
_______________________________
30 7 Jan Schacher
31 7 Jan Schacher
h2. Example Implementations:
32 5 Jan Schacher
33 5 Jan Schacher
Nils Peters: scene transform: link
34 5 Jan Schacher
35 5 Jan Schacher
Jasch: 3Dmatrix External for MaxMSP: "jasch objects site":http://www.jasch.ch/dl