Geo-transform Extension

Version 13 (Nils Peters, 09/28/2010 11:19 pm)

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 11 Jan Schacher
or the entire matrix, in specific matrix format (tbd.)
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 13 Nils Peters
Nils Peters: jmod.scene3D for Jamoma, "github repository":http://github.com/Nilson/ViMiC-and-friends/tree/master/scene3D/
34 12 Nils Peters
Jasch: 3Dmatrix External for MaxMSP, "jasch objects site":http://www.jasch.ch/dl