Antialiasing method and apparatus for video applications
First Claim
1. A method for anti-aliasing edge pixels in a rendering operation, comprising the steps of:
- determining coverage parameters associated with an edge pixel on an edge of a given polygon being rendered that is stored in a first buffer;
creating an anti-aliasing value representing the relationship of the edge pixel to its surrounding neighbors as to the amount of color that is to be blended into the edge pixel of a color corresponding to that of its surrounding neighbors; and
storing the anti-aliasing value in a second buffer in association with the coverage parameters of the edge pixel stored in the first buffer, which anti-aliasing value is retained during rendering of other polygons containing the edge pixel as a function of the given polygon being in the foreground during the rendering operation of the other polygons.
9 Assignments
0 Petitions
Accused Products
Abstract
Antialiasing method and apparatus for video applications. A method for antialiasing a video graphic. First, the processor renders the pixels and, during the step of rendering, determines if an edge pixel of a polygon is being rendered. If so, a sample point is defined within each pixel and a determination made if the sample point lies within the polygon or outside of the polygon. If the sample point lies within the polygon, the color of the edge pixel is set to the color of the polygon. If the sample point lies outside of the polygon, the color of the edge pixel is set to the color of the background. The percentage of the pixel that lies in the space associated with the sampling point is then calculated. The color of the pixel is stored in a frame buffer in association with the percent value that lies in the space associated with the sample point and in association with an indication that the sample point lies within the polygon or outside of the polygon. In a video processing step, the pixel information associated with a pixel to be output is fetched. For an edge pixel, determining if the color associated with the pixel is associated with the background or with the color of the polygon from the color indication associated with the pixel. If the pixel color is that of the polygon, the color of the pixel is blended with the color of a neighboring pixel outside of the polygon in a percentage defined by the stored percentage such that the percentage of the stored color is equal to the stored percentage value and the percentage blended from the neighboring pixel is that associated with the percent of the pixel having been determined to lie outside of the polygon. If the pixel is the color of the background, the color of the pixel is blended with the color of a neighboring pixel in the polygon in a percentage that equals the color of the pixels multiplied by the percentage lying outside of the polygon and the color of the polygon multiplied by the neighboring pixel or polygon multiplied by the percentage of the pixel lying within the polygon.
72 Citations
18 Claims
-
1. A method for anti-aliasing edge pixels in a rendering operation, comprising the steps of:
-
determining coverage parameters associated with an edge pixel on an edge of a given polygon being rendered that is stored in a first buffer; creating an anti-aliasing value representing the relationship of the edge pixel to its surrounding neighbors as to the amount of color that is to be blended into the edge pixel of a color corresponding to that of its surrounding neighbors; and storing the anti-aliasing value in a second buffer in association with the coverage parameters of the edge pixel stored in the first buffer, which anti-aliasing value is retained during rendering of other polygons containing the edge pixel as a function of the given polygon being in the foreground during the rendering operation of the other polygons. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A graphics engine for anti-aliasing edge pixels in a rendering operation, comprising:
-
a rendering engine for determining coverage parameters associated with an edge pixel on an edge of a given polygon being rendered that is stored in a first buffer; an anti-aliasing engine for creating an anti-aliasing value representing the relationship of the edge pixel to its surrounding neighbors as to the amount of color that is to be blended into the edge pixel of a color corresponding to that of its surrounding neighbors; and a second buffer for storing the anti-aliasing value in association with the coverage parameters of the edge pixel in said first buffer, which anti-aliasing value is retained during rendering of other polygons containing the edge pixel as a function of the given polygon being in the foreground during the rendering operation of the other polygons. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification