15-462 Graphics I
22
Homogeneous Coordinates
•
In affine space, P =
a
1
v
1
+
a
2
v
2
+
a
3
v
3
+ P
0
•
Define 0
¢
P = 0, 1
¢
P = P
•
Then
•
•
•
•
Point
p
= [
a
1
a
2
a
3
1]
T
•
Vector w =
d
1
v
1
+
d
2
v
2
+
d
3
v
3
•
Homogeneous coords:
a
= [
d
1
d
2
d
3
0]
T