04/23/2002
15-462 Graphics I
8
Interpolating Intersections
•
Approximate intersection
–
Midpoint between x
i
, x
i+1
and y
j
, y
j+1
–
Better: interpolate
•
If f
i j
= a is closer to c than b = f
i+1 j
then
intersection is closer to (x
i
, y
j
):
–
–
–
•
Analogous calculation
•
for y direction
f
i j
= a < c
c < b = f
i+1 j
x
i
x
i+1
x