T - IUT d'Arles
T - IUT d'Arles T - IUT d'Arles
II. Transformations / Coordonnées homogènes Passage en coordonnées homogènes Translation Mise à l’échelle Réflexion [ =[ x ' 1 0 0 T x P'=PT y ' 0 1 0 T y z' 0 0 1 T z w ']P ' 0 0 0 1 ]T [ =[ x' S x 0 0 0 P'=S⋅P y ' 0 S y 0 0 z' 0 0 S z 0 w ' ]P' 0 0 0 1 ]S [ =[ x ' 1 0 0 0 P'=M⋅P y ' 0 −1 0 0 z' 0 0 1 0 w' ]P' 0 0 0 1 ]M ×[ x y z w ]P ×[ x y z [ x y z ] w ]P [ x h y h ] z h w h avec x=x h / w h y=y h /w h z=z h /w h ×[ x y z w ]P (par rapport à y) R. Raffin / LPSIL IN Synthèse / modélisation géométrique 120
II. Transformations / Coordonnées homogènes Rotation 3D en coordonnées homogènes y R y Rotation autour d’un axe (x, y, z) d’angle : R x z R z x R=[tx 2 c txysz txz−sy 0 1] txy − sz ty 2 c tyzsx 0 txzsy tyz−sx tz 2 c 0 0 0 0 avec s=sin c=cos t=1−cos Rotation autour de (Ox) [1 0 0 0 1] 0 cos −sin 0 0 sin cos 0 0 0 0 Rotation autour de (Oy) [cos 0 sin 0 1] 0 1 0 0 −sin 0 cos 0 0 0 0 Rotation autour de (Oz) [cos −sin 0 0 sin cos 0 0 0 0 1 0 0 0 0 1] R. Raffin / LPSIL IN Synthèse / modélisation géométrique 121
- Page 69 and 70: Représentations des Courbes / Cour
- Page 71 and 72: Représentations des Courbes / Cour
- Page 73 and 74: Représentations des Courbes / Cour
- Page 75 and 76: Représentations des Courbes / B-Sp
- Page 77 and 78: Représentations surfaciques / Surf
- Page 79 and 80: Représentations surfaciques / Surf
- Page 81 and 82: Représentations surfaciques / Surf
- Page 83 and 84: Représentations surfaciques / Surf
- Page 85 and 86: Représentations surfaciques / Surf
- Page 87 and 88: Représentations surfaciques / Surf
- Page 89 and 90: Représentations surfaciques / Surf
- Page 91 and 92: Représentations volumiques Représ
- Page 93 and 94: Représentations volumiques / Voxel
- Page 95 and 96: Représentations volumiques / arbre
- Page 97 and 98: 2. Modélisation procédurale Exem
- Page 99 and 100: Composition d'objets : arbres CSG R
- Page 101 and 102: Composition d'objets : arbres CSG
- Page 103 and 104: « sous » - Plan ■ quelques rapp
- Page 105 and 106: I. Quelques rappels de maths / Vect
- Page 107 and 108: I. Quelques rappels de maths / Vect
- Page 109 and 110: I. Quelques rappels de maths / Vect
- Page 111 and 112: I. Quelques rappels de maths / Matr
- Page 113 and 114: II. Transformations de l’espace
- Page 115 and 116: II. Transformations / Survol en 2D
- Page 117 and 118: II. Transformations / Survol en 2D
- Page 119: II. Transformations / Coordonnées
- Page 123 and 124: II. Transformations / Compositions
- Page 125 and 126: II. Transformations / Compositions
- Page 127 and 128: II. Transformations / Compositions
- Page 129 and 130: Plan ■ quelques rappels de maths
- Page 131 and 132: III. Projections / parallèle 1) Pr
- Page 133 and 134: III. Projections / parallèle b) ob
- Page 135 and 136: III. Projections / perspective 2) p
- Page 137 and 138: III. Projections / perspective Prop
- Page 139 and 140: III. Projections / perspective Matr
- Page 141 and 142: III. Projections / perspective Calc
- Page 143 and 144: III. Projections / perspective Exem
- Page 145 and 146: III. Projections / perspective Exem
- Page 147 and 148: IV. Visualisation si on reprend l
- Page 149 and 150: IV. Visualisation / Découpage et f
- Page 151 and 152: IV. Visualisation / Découpage et f
- Page 153 and 154: IV. Visualisation / Découpage et f
- Page 155 and 156: IV. Visualisation / Découpage et f
- Page 157 and 158: Plan ■ quelques rappels de maths
- Page 159 and 160: V. Parties cachées R. Raffin / LPS
- Page 161 and 162: V. Parties cachées / Faces arrièr
- Page 163 and 164: V. Parties cachées ■ espace obje
- Page 165 and 166: V. Parties cachées / Espace objet
- Page 167 and 168: V. Parties cachées / Espace image
- Page 169 and 170: V. Parties cachées / Espace image
II. Transformations / Coordonnées homogènes<br />
Rotation 3D en coordonnées homogènes<br />
y<br />
R y<br />
Rotation autour d’un axe (x, y, z) d’angle :<br />
R x<br />
z<br />
R z<br />
x<br />
R=[tx 2 c txysz txz−sy 0<br />
1]<br />
txy − sz ty 2 c tyzsx 0<br />
txzsy tyz−sx tz 2 c 0<br />
0 0 0<br />
avec<br />
s=sin <br />
c=cos<br />
t=1−cos<br />
Rotation autour de (Ox)<br />
[1 0 0 0<br />
1]<br />
0 cos −sin 0<br />
0 sin cos 0<br />
0 0 0<br />
Rotation autour de (Oy)<br />
[cos 0 sin 0<br />
1]<br />
0 1 0 0<br />
−sin 0 cos 0<br />
0 0 0<br />
Rotation autour de (Oz)<br />
[cos −sin 0 0<br />
sin cos 0 0<br />
0 0 1 0<br />
0 0 0 1]<br />
R. Raffin / LPSIL IN Synthèse / modélisation géométrique<br />
121