Claims
- 1. In a computer controlled display system with a display device having an array of pixels, a method for rendering a polygon for display said method comprising the steps of:
- a) determining a coverage of a pixel within said polygon by said polygon by:
- i) determining a first value representative of a distance from a center of said pixel to an edge of said polygon;
- ii) adding a first predetermined value to said first value representative of the distance for said pixel to produce a second value.;
- iii) clamping said second value according to a function which provides a constant second predetermined value if said second value is less than a first predetermined range and which provides the second value if the second value is within said first predetermined range and which provides a constant third predetermined value if said second value is greater than said first predetermined range;
- iv) repeating steps i-iii for each edge of said polygon;
- v) computing the coverage of the pixel by calculating the product of all clamped values corresponding to edges of said polygon;
- b) determining coverages of each pixel of said polygon;
- c) storing a plurality pixel values in memory, wherein said pixel values are a function of said coverage;
- d) generating electrical signals to actuate pixels of said polygon according to said pixel values;
- e) displaying said polygon on a display device.
- 2. A method as in claim 1 wherein said first predetermined value is 0.0 and wherein said second predetermined value is 1.0.
- 3. A method as in claim 2 wherein said first predetermined range is from zero to 1, inclusive.
- 4. A method as in claim 3 further comprising the step of blending parameter values for a pixel if the value of said coverage is within a second predetermined range.
- 5. A method as in claim 4 wherein said second predetermined range is from zero to 1, not including the extremes of said second range.
- 6. A method as in claim 1 wherein said step of determining a first value representative of a distance from a center of said pixel to an edge of said polygon is performed during the scan conversion and filling process for said polygon.
- 7. A method as in claim 1 wherein the step of determining a first value representative of a distance from a center of said pixel to an edge of said polygon is performed by determining a height projecting away from said polygon at each pixel center of a point directly above said each pixel center on a plane intersecting each edge of said polygon.
- 8. A method as in claim 7, wherein said plane has a slope of 1 relative to the plane of said polygon.
- 9. A method as in claim 7, wherein said polygon is a triangle.
- 10. A method as in claim 1 wherein said first value representative of a distance from a center of said pixel to an edge of said polygon is proportional to said distance.
Parent Case Info
This is a divisional of application Ser. No. 07/657,087, filed Feb. 19, 1991.
US Referenced Citations (7)
Divisions (1)
|
Number |
Date |
Country |
| Parent |
657087 |
Feb 1991 |
|