03/26/2002
15-462 Graphics I
25
Barycentric Coordinates in 2D
•Given 3 points instead of 2
•
•
•
•
•Define 3 barycentric coordinates, a, b, g
•p = a p1 + b p2 + g p3
•p inside triangle iff 0 · a, b, g · 1
•How do we calculate a, b, g given p?
p1
p2
p3
p