Claims
- 1. A computer program product, stored in computer readable memory and executable by a data processing system, for rendering a graphical polygon, said polygon being defined by connecting edges surrounding a polygon interior, comprising:
- means for computing a plurality of spans, each span including a portion of the polygon interior and at least two polygon edge points on each of at lest two edges of the polygon, including computing which of the at least two polygon edge points of the span are to be rendered;
- means for computing at least one color value for each computed span; and
- means for rendering said spans on a display using said computer color values including only polygon edge points computed to be rendered.
- 2. The computer program product of claim 1 wherein said means for computing a plurality of spans of pixels includes means for computing a plurality of parallel spans.
- 3. The computer program product of claim 2 wherein said means for computing a plurality of spans includes means for incrementally computing each span by incrementally computing polygon edges points on each end of each span.
- 4. The computer program product of claim 3 wherein said means for computing a plurality of spans includes means for computing which polygon edge points are to be rendered in each span based upon whether the polygon edge points are shared with other polygons to be rendered.
- 5. A computer program product comprising:
- a computer usable medium having computer readable program code means embodied in said medium for rendering a graphical polygon, said polygon being defined by connecting edges surrounding a polygon interior, said computer program product having:
- computer readable program code means for causing a computer to effect computing a plurality of spans, each span including a portion of the polygon interior and at least two polygon edge points on each of at least two edges of the polygon, including computing which of the at least two polygon edge points of the span are to be rendered;
- computer readable program code means for causing a computer to effect computing at least one color value for each computed span; and
- computer readable program code means for causing a computer to effect rendering said spans on a display using said computed color values including only polygon edge points computed to be rendered.
- 6. The computer program product of claim 5 wherein said computer readable program code means for causing a computer to effect computing a plurality of spans of pixels includes computer readable program code means for causing a computer to effect computing a plurality of parallel spans.
- 7. The computer program product of claim 6 wherein said computer readable program code means for causing a computer to effect computing a plurality of spans includes computer readable program code means for causing a computer to effect incrementally computing each span by incrementally computing polygon edges points on each end of each span.
- 8. The computer program product of claim 7 wherein said computer readable program code means for causing a computer to effect computing a plurality of spans includes computer readable program code means for causing a computer to effect computing which polygon edge points are to be rendered in each span based upon whether the polygon edge points are shared with other polygons to be rendered.
Parent Case Info
This application is a continuation of application Ser. No. 08/123,510 under 37 CFR 160, filed Sep. 20, 1993, now U.S. Pat. No. 5,463,723.
US Referenced Citations (16)
Foreign Referenced Citations (1)
Number |
Date |
Country |
2187368 |
Feb 1987 |
GBX |
Non-Patent Literature Citations (2)
Entry |
Xlib Programming Manual for Version 11, vol. 1, A. Nye, pp. 136-140. |
Computer Graphics Principles and Practice, Second Edition, Foley et al, pp. 82-109; 855-1010. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
123510 |
Sep 1993 |
|