T - IUT d'Arles

T - IUT d'Arles T - IUT d'Arles

iut.arles.up.univ.mrs.fr
from iut.arles.up.univ.mrs.fr More from this publisher
10.03.2014 Views

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

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!