03/26/2002
15-462 Graphics I
24
Barycentric Coordinates in 1D
•Linear interpolation
–p(t) = (1 – t)p1 + t p2, 0 · t · 1
–p(t) = a p1 + b p2 where a + b = 1
–p is between p1 and p2 iff 0 · a, b · 1
•Geometric intuition
–Weigh each vertex by ratio of distances from ends
–
–
–
• a, b are called barycentric coordinates
p1
p
p2