April 05
Prof. Ismael H. F. Santos -
ismael@tecgraf.puc-rio.br
2
Clipping
em coordenadas homogêneas
x
Î
[
left, right
]
y
-1
£
x
h
/w
£
1
-1
1
x
x
w
x
h
£
w
x
h
³
-w
x
h
³
w
x
h
£
-w
não serve!
w < 0
(z
e
>0)
1
0
0
-1
-1
0
0
-1
-x
h
-w = 0
x
h
-w = 0