×

Polygon renderer which determines the coordinates of polygon edges to sub-pixel resolution in the X,Y and Z coordinates directions

  • US 5,278,949 A
  • Filed: 03/12/1991
  • Issued: 01/11/1994
  • Est. Priority Date: 03/12/1991
  • Status: Expired due to Term
First Claim
Patent Images

1. A polygon rendering circuit for rendering a plurality of polygons representing an image to a raster display device, each polygon having respective edges intersecting at least one scan line of said raster display device, comprising:

  • means for providing coordinates (x,y,z) of respective vertices of said polygon, said vertices representing endpoints of edges of said polygon, and for providing slopes Mx and Mz with respect to a y coordinate of lines connecting the respective vertices of said polygon to form said edges;

    a polygon edge stepper for determining coordinates (x,y,z) of an intersection of each of said edges with each scan line of said polygon, said polygon edge stepper starting at a first scan line of said polygon, and (1) determining coordinates (x,y,z) of points along respective edges of said polygon which are in an adjacent scan line by incrementing a coordinate (y) perpendicular to said scan line to a y coordinate of said adjacent scan line, (2) determining a coordinate (x) parallel to said scan line and a coordinate (z) perpendicular to x and y axes for each edge of said polygon intersecting said scan line by adding the slope Mx for the corresponding edge to an x coordinate for that edge on the previous scan line and adding the slope Mz for the corresponding edge to a z coordinate for that edge on the previous scan line, (3) repeating determinations (1) and (2) for each scan line intersecting said respective edges until the coordinates (x,y,z) of said edges for a scan line at an end of at least one edge have been determined, and (4) repeating determinations (1) through (3) for subsequent edges of said polygon, starting from a scan line after the scan line at the end of said at least one edge, until the coordinates (x,y,z) of all said intersections along each edge of said polygon have been determined;

    interpolating means for determining which display pixels of said raster display device are on an inside portion of said polygon with respect to the determined coordinates (x,y,z) of all edges of said polygon and appropriately shading for display only those display pixels which are on said inside portion of said polygon; and

    a buffer for temporarily storing said shaded display pixels and then sending said shaded display pixels to said raster display device for display.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×