×

Processor-based method for rasterizing polygons at an arbitrary precision

  • US 5,528,737 A
  • Filed: 12/14/1993
  • Issued: 06/18/1996
  • Est. Priority Date: 12/14/1993
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of rasterizing a collection of objects, comprising the steps of:

  • dividing the objects into triangles;

    associating coordinates with each vertex of said triangles, said coordinates being an x-coordinate and a y-coordinate relative to a pixel grid of a pixelated display device, thereby mapping said triangles onto the image formed by coloring pixels in said pixel grid;

    determining, for a set of pixels in said pixel grid, which pixels in said set are inside an area defined on said pixel grid by a triangle and which pixels are outside said triangle, by the steps of;

    rounding each vertex of said triangle to a center of a pixel to form a rounded triangle with vertices A, B and C with coordinates (xa, ya), (Xb, Yb), (Xc, Yc), respectively;

    calculating an edge function for at least one edge of said rounded triangle from said coordinates of vertices for a pixel located at a point (x,y), wherein a value of said edge function evaluated at said point (x,y) indicates whether said point is inside said rounded triangle, outside said rounded triangle, or exactly on an edge of said rounded triangle associated with said edge function;

    associating said point with one said rounded triangle inside or said rounded triangle outside according to an edge decision rule when said edge function indicates said point to be exactly on said edge;

    associating pixels within said rounded triangle with an interior of said triangle and pixels without said rounded triangle with an exterior of said triangle.

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