摘要 |
The present invention is generally directed to a system and method for transforming a plurality of points from a homogeneous coordinate representation, where the points are defined by x, p, and w values, wherein x represents a geometric coordinate value, p represents any arbitrary attribute value, and w represents a homogeneous coordinate value. In one embodiment, the method comprising, for each point: (1) determining whether the w value for the point is zero, (2) setting a flag and not dividing the x or p values by w, if w is zero, and (3) dividing each of the x and p values by w, if w is not zero. A graphics system is also provided having various logic components for carrying out the above operations.
|