10.06.2013 Views

Trasformazioni nello spazio Grafica 3d

Trasformazioni nello spazio Grafica 3d

Trasformazioni nello spazio Grafica 3d

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Traslazione <strong>nello</strong> <strong>spazio</strong><br />

I punti <strong>nello</strong> <strong>spazio</strong> xyz possono essere “traslati” in una<br />

nuova posizione aggiungendo le quantità, Tx, Ty, Tz, cioè<br />

considerando la trasformazione:<br />

(x ′ ,y ′ ,z ′ , 1) =<br />

⎛<br />

⎜<br />

⎝<br />

1 0 0 Tx<br />

0 1 0 Ty<br />

0 0 1 Tz<br />

0 0 0 1<br />

Ovviamente l’applicazione di una traslazione di Tz unità,<br />

non ha effetto “apparente” sul nostro schermo.<br />

⎞<br />

⎟<br />

⎠<br />

⎛<br />

⎜<br />

⎝<br />

x<br />

y<br />

z<br />

1<br />

⎞<br />

⎟<br />

⎠<br />

<strong>Trasformazioni</strong> <strong>nello</strong> <strong>spazio</strong><strong>Grafica</strong> <strong>3d</strong> – p. 4

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

Saved successfully!

Ooh no, something went wrong!