← Back to Patent Explorer
US5369739A Expired / Lapsed US ⏱️ 0.0 years remaining

Apparatus and method for generating point sample masks in a graphics display system

Assignee: Microsoft Technology Licensing LLC
•
Filing: 1993-07-09
•
Granted: 1994-11-29
•
Expires: 2013-07-09
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract In a computer graphics system, a method of generating a geometrically valid point sample mask corresponding to a pixel. A separate mask is generated for each edge of a polygon. These masks specify whether particular subsample points are within a half-plane defined by an edge of the polygon. This information is determined by examining the sign of vertical or horizontal distance metrics corresponding to those sample points. These separate masks are merged to form the final point sample mask. Thereby, the final point sample mask contains information specifying whether particular sample points reside within the polygon. This information is used in rendering the pixel for display by the computer graphics system.

Inventors

  • 👤 Kurt Akeley

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-03 18:06
CPC Classifications
G; G06; G06T; G06T11/00; G06T11/40; G06T15/00; G06T15/10; G06T15/40; G06T15/405; G06T2200/00; G06T2200/12

Claims Analysis

Total Claims: 28
Claim 1
Independent Claim 281 words
In a computer system, a computer implemented method of generating a point sample mask having an array of sample points corresponding to a pixel, wherein each sample point has associated information specifying whether said sample point is inside or outside a polygon, said information being used for rendering said pixel for display by said computer system, said method comprising the steps of: generating a first mask corresponding to a first edge of said polygon, said first mask specifying which ones of a first set of said sample points reside within a first half-plane defined by said first edge, wherein a sign of a vertical or horizontal distance metric corresponding to a first sample of said first set of sample points determines whether said first sample resides within said first half-plane; generating a second mask corresponding to a second edge of said polygon, said second mask specifying which ones of a second set of sample points reside within a second half-plane defined by said second edge, wherein a sign of a vertical or horizontal distance metric corresponding to a second sample of said second set of sample points determines whether said second sample resides within said second half-plane; generating a third mask corresponding to a third edge of said polygon, said third mask specifying which ones of a third set of sample points reside within a third half-plane defined by said third edge, wherein a sign of a vertical or horizontal distance metric corresponding to a third sample of said third set of sample points determines whether said third sample resides within said third half-plane; merging said first mask, said second mask, and said third mask to generate said point sample mask.
Claim 2
Dependent Claim 281 words
In a computer system, a computer implemented method of generating a point sample mask having an array of sample points corresponding to a pixel, wherein each sample point has associated information specifying whether said sample point is inside or outside a polygon, said information being used for rendering said pixel for display by said computer system, said method comprising the steps of: generating a first mask corresponding to a first edge of said polygon, said first mask specifying which ones of a first set of said sample points reside within a first half-plane defined by said first edge, wherein a sign of a vertical or horizontal distance metric corresponding to a first sample of said first set of sample points determines whether said first sample resides within said first half-plane; generating a second mask corresponding to a second edge of said polygon, said second mask specifying which ones of a second set of sample points reside within a second half-plane defined by said second edge, wherein a sign of a vertical or horizontal distance metric corresponding to a second sample of said second set of sample points determines whether said second sample resides within said second half-plane; generating a third mask corresponding to a third edge of said polygon, said third mask specifying which ones of a third set of sample points reside within a third half-plane defined by said third edge, wherein a sign of a vertical or horizontal distance metric corresponding to a third sample of said third set of sample points determines whether said third sample resides within said third half-plane; merging said first mask, said second mask, and said third mask to generate said point sample mask.
Claim 3
Dependent Claim 55 words
The method of claim 1 further comprising the steps of: determining whether a slope of said first edge is within a range of +1 to -1; generating coefficients of said vertical distance metric if said slope is within said range; generating coefficients of said horizontal distance metric if said slope is not within said range.
Claim 4
Dependent Claim 34 words
The method of claim 2 further comprising the step of interpolating vertical distance metrics for a row of sample points by performing a plurality of multiplication functions if said slope is within said range.
Claim 5
Dependent Claim 34 words
The method of claim 2 further comprising the step of interpolating vertical distance metrics for a column of sample points by performing a plurality of addition functions if said slope is within said range.
Claim 6
Dependent Claim 35 words
The method of claim 2 further comprising the step of interpolating horizontal distance metrics for a column of sample points by performing a plurality of multiplication functions if said slope is not within said range.
Claim 7
Dependent Claim 35 words
The method of claim 2 further comprising the step of interpolating horizontal distance metrics for a row of sample points by performing a plurality of addition functions if said slope is not within said range.
Claim 8
Dependent Claim 80 words
The method of claim 2, wherein said vertical distance metric is derived from: Dv=Ax+y+C, where: Dv=distance value in pixel widths for a subsample point directly to the left or right of a pixel centerpoint; A=(y 1 -y 0 )/(x 1 -x 0 ; C=(2x 0 y 0 -x 0 y 1 -x 1 y 0 )/(x 1 -x 0 ); (x 0 ,y 0 ) and (x 1 ,y 1 )=coordinate corresponding to two vertices that define said first edge.
Claim 9
Dependent Claim 54 words
The method of claim 2, wherein a first horizontal distance metric is derived from: Dh=x+By+C, where: Dh=distance value in pixel widths for a subsample point directly above or below a pixel centerpoint; B=(xO-x1)/(y1-y0); C=((x1*y0)-(x0*y1)/(y1-y0); (x 0 ,y 0 ) and (x 1 ,y 1 )=coordinate corresponding to two vertices that define said first edge.
Claim 10
Dependent Claim 36 words
The method of claim 8 further comprising the step of determining inside/outside status for each of said sample points by examining a sign of each corresponding vertical distance metric if said slope is within said range.
Claim 11
Dependent Claim 37 words
The method of claim 9 further comprising the step of determining inside/outside status for each of said sample points by examining a sign of each corresponding horizontal distance metric if said slope is not within said range.
Claim 12
Dependent Claim 31 words
The method of claim 10, wherein said merging step is accomplished by performing AND operations for each corresponding sample point of said first mask, said second mask, and said third mask.
Claim 13
Dependent Claim 17 words
The method of claim 11, wherein said array is comprised of an 8×8 matrix of sample points.
Claim 14
Dependent Claim 15 words
The method of claim 12, wherein said interpolating steps are accomplished by a table lookup.
Claim 15
Dependent Claim 311 words
In a computer system, an apparatus for generating a point sample mask having an array of sample points corresponding to a pixel, wherein each sample point has associated information specifying whether said sample point is inside or outside a polygon, said information being used for rendering said pixel for display by said computer system, said apparatus comprising: a first generator for generating a first mask corresponding to a first edge of said polygon, said first mask specifying which ones of a first set of said sample points reside within a first half-plane defined by said first edge, wherein a sign of a vertical or horizontal distance metric corresponding to a first sample of said first set of sample points determines whether said first sample resides within said first half-plane; a second generator coupled to said first generator for generating a second mask corresponding to a second edge of said polygon, said second mask specifying which ones of a second set of sample points reside within a second half-plane defined by said second edge, wherein a sign of a vertical or horizontal distance metric corresponding to a second sample of said second set of sample points determines whether said second sample resides within said second half-plane; a third generator coupled to said second generator for generating a third mask corresponding to a third edge of said polygon, said third mask specifying which ones of a third set of sample points reside within a third half-plane defined by said third edge, wherein a sign of a vertical or horizontal distance metric corresponding to a third sample of said third set of sample points determines whether said third sample resides within said third half-plane; a circuit coupled to said first, said second, and said third generators for merging said first mask, said second mask, and said third mask, resulting in said point sample mask.
Claim 16
Dependent Claim 311 words
In a computer system, an apparatus for generating a point sample mask having an array of sample points corresponding to a pixel, wherein each sample point has associated information specifying whether said sample point is inside or outside a polygon, said information being used for rendering said pixel for display by said computer system, said apparatus comprising: a first generator for generating a first mask corresponding to a first edge of said polygon, said first mask specifying which ones of a first set of said sample points reside within a first half-plane defined by said first edge, wherein a sign of a vertical or horizontal distance metric corresponding to a first sample of said first set of sample points determines whether said first sample resides within said first half-plane; a second generator coupled to said first generator for generating a second mask corresponding to a second edge of said polygon, said second mask specifying which ones of a second set of sample points reside within a second half-plane defined by said second edge, wherein a sign of a vertical or horizontal distance metric corresponding to a second sample of said second set of sample points determines whether said second sample resides within said second half-plane; a third generator coupled to said second generator for generating a third mask corresponding to a third edge of said polygon, said third mask specifying which ones of a third set of sample points reside within a third half-plane defined by said third edge, wherein a sign of a vertical or horizontal distance metric corresponding to a third sample of said third set of sample points determines whether said third sample resides within said third half-plane; a circuit coupled to said first, said second, and said third generators for merging said first mask, said second mask, and said third mask, resulting in said point sample mask.
Claim 17
Dependent Claim 60 words
The apparatus of claim 14 further comprising: a means for determining whether a slope of said edge is within a range of +1 to -1; a means for generating coefficients of said vertical distance metric if said slope is within said range; a means for generating coefficients of said horizontal distance metric if said slope is not within said range.
Claim 18
Dependent Claim 27 words
The apparatus of claim 15 further comprising a multiplier for interpolating vertical distance metrics for a row of sample points if said slope is within said range.
Claim 19
Dependent Claim 27 words
The apparatus of claim 16 further comprising an adder for interpolating vertical distance metrics for a column of sample points if said slope is within said range.
Claim 20
Dependent Claim 28 words
The apparatus of claim 17 further comprising a multiplier for interpolating horizontal distance metrics for a column of sample points if said slope is not within said range.
Claim 21
Dependent Claim 28 words
The apparatus of claim 18 further comprising an adder for interpolating horizontal distance metrics for a row of sample points if said slope is not within said range.
Claim 22
Dependent Claim 81 words
The apparatus of claim 19, wherein a first vertical distance metric is derived from: Dv=Ax+y+C, where: Dv=distance value in pixel widths for a subsample point directly to the left or right of a pixel centerpoint; A=(y 1 -y 0 )/(x 1 -x 0 ; C=(2x 0 y 0 -x 0 y 1 -x 1 y 0 )/(x 1 -x 0 ); (x 0 ,y 0 ) and (x 1 ,y 1 )=coordinate corresponding to two vertices that define said first edge.
Claim 23
Dependent Claim 54 words
The apparatus of claim 20, wherein a first horizontal distance metric is derived from: Dh=x+By+C, where: Dh=distance value in pixel widths for a subsample point directly above or below a pixel centerpoint; B=(x0-x1)/(y1-y0); C=((x1*y0)-(x0*y1)/(y1-y0); (x 0 ,y 0 ) and (x 1 ,y 1 )=coordinate corresponding to two vertices that define said first edge.
Claim 24
Dependent Claim 36 words
The apparatus of claim 21 further comprising a means for determining inside/outside status for each of said sample points by examining a sign of each corresponding vertical distance metric if said slope is within said range.
Claim 25
Dependent Claim 37 words
The apparatus of claim 22 further comprising a means for determining inside/outside status for each of said sample points by examining a sign of each corresponding horizontal distance metric if said slope is not within said range.
Claim 26
Dependent Claim 36 words
The apparatus of claim 23 further comprising an AND circuit for performing AND operations on each corresponding sample point of said first mask, said second mask, and said third mask to produce said point sample mask.
Claim 27
Dependent Claim 17 words
The apparatus of claim 24, wherein said array is comprised of an 8×8 matrix of sample points.
Claim 28
Dependent Claim 14 words
The apparatus of claim 25 further comprising a table lookup for performing said interpolation.

References Cited (Backward Citations)

US4692468A Cited
US5268992A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1997-11-28 1998-05-30 1998-11-29 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2001-11-28 2002-05-30 2002-11-29 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2005-11-28 2006-05-30 2006-11-29 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag