×

Method and apparatus for span and subspan sorting rendering system

  • US 5,977,987 A
  • Filed: 07/26/1996
  • Issued: 11/02/1999
  • Est. Priority Date: 07/26/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. In a graphical processing system for processing 3-dimensional object geometry data and rendering at least some of said object geometry data on a 2-dimensional display screen, a method for rendering a display raster line comprising the steps:

  • (a) transforming at least one of said object geometry data into a polygonal representation, said polygonal representation comprising at least one polygon, each or said polygon defined by a set of polygon parameters including polygon vertices having display screen relative coordinates;

    (b) sorting each said polygon using a bucket sorting routine wherein a separate memory bucket is allocated for each display raster line and each polygon is placed into the one particular bucket that corresponds to each polygon'"'"'s starting raster line; and

    (c) for each display raster line(i) maintaining a list of all current polygons that intersect a current display raster line currently being rendered;

    (ii) generating a span for each polygon that intersects said current display raster line based on geometric properties of said polygon including said polygon parameters, each said span including subraster information describing the geometric shape of said span within a vertical extent of said display raster line;

    (iii) storing said geometric properties of each said generated span into a span memory;

    (iv) maintaining a current span portion that is part of a potentially visible one of said generated span, said current span portion comprised of a set of current subspans, each said current subspan representing a rectangular area within said current span portion, and said set of current subspans approximating an area of said current span portion,(v) performing at least one span occluding test to find any new span that potentially occludes said current span portion, where said span occluding test comprises(1) determining the leftmost, rightmost, and farthest spatial coordinates in said set of current subspans; and

    (2) performing a query operation on the said stored geometric properties in said span memory to find all said spans whose stored geometric properties include a spatial coordinate located between said leftmost and said rightmost spatial coordinates of the said set of current subspans, and a spatial coordinate closer than said farthest spatial coordinate of the said set of current subspans;

    (vi) generating a set of new subspans, each said new subspan representing a rectangular area within said new span, and said set of new subspans approximating an area of said new span;

    (vii) for each said subspan in said set of current subspans, performing a subspan comparison comprising(1) performing a spatial comparison between said subspan in said set of current subspans and a corresponding subspan in the said set of new subspans; and

    (2) determining the visibility, partial visibility, or non-visibility of each subspan in said set of current subspans; and

    (viii) updating said current span portion based on results of said subspan comparisons.

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