Method and system for reducing a polygon bounding box

US9633458B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9633458-B2
Application numberUS-201213356551-A
CountryUS
Kind codeB2
Filing dateJan 23, 2012
Priority dateJan 23, 2012
Publication dateApr 25, 2017
Grant dateApr 25, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

In a graphics processing pipeline, a processing unit establishes a bounding box around a polygon in order to identify sample points that are covered by the polygon. For a given sample point included within the bounding box, the processing unit constructs a set of lines that intersect at the sample point, where each line in the set of lines is parallel to at least one side of the polygon. When all vertices of the polygon reside on one side of at least one line in the set of lines, the processing unit may reduce the size of the bounding box to exclude the sample point.

First claim

Opening claim text (preview).

The invention claimed is: 1. A computer-implemented method for culling sample points associated with a polygon having N edges and N vertices, the method comprising: establishing a bounding box that encompasses the polygon; identifying a plurality of sample points included within the bounding box; for each sample point included in the plurality of sample points: constructing a set of multiple lines that intersect one another at the sample point, wherein each line included in the set of multiple lines is parallel to at least one corresponding line constructed to intersect each other sample point included in the plurality of sample points; determining that the sample point resides outside the polygon by determining that all of the N vertices of the polygon reside on a first side of any of the lines included in the set of multiple lines that intersect one another at the sample point; and upon determining that the sample point lies outside the polygon, reducing the size of the bounding box until the sample point is excluded from the bounding box. 2. The computer-implemented method of claim 1 , wherein the set of multiple lines comprises two lines positioned substantially perpendicular to one another, wherein each of the two lines is positioned at a substantially 45 degree angle relative to at least one edge of a pixel that includes the sample point. 3. The computer-implemented method of claim 1 , wherein the set of multiple lines includes N lines, each of the N lines is substantially parallel to a different one of the N edges of the polygon, N being an integer. 4. The computer-implemented method of claim 1 , wherein constructing the set of multiple lines comprises: determining N slope values, wherein each of the N slope values corresponds to a different one of the N edges of the polygon; rounding each of the N slope values to generate N rounded slope values; and constructing N lines to generate the set of multiple lines, wherein each of the N lines is associated with a different one of the N rounded slope values, N being an integer. 5. The computer-implemented method of claim 1 , further comprising: constructing a different set of multiple lines for each of the other sample points included within the bounding box; determining that each of the N vertices of the polygon resides on one side of any of the lines in each of the different sets of multiple lines; and culling each of the other sample points by collapsing the bounding box. 6. The computer-implemented method of claim 1 , wherein the sample point is one of a plurality of sample points residing within a pixel. 7. The computer-implemented method of claim 1 , wherein the polygon comprises a triangle. 8. A non-transitory computer-readable medium storing program instructions that, when executed by a processing unit, cause the processing unit to cull sample points associated with a polygon having N edges and N vertices by performing the steps of: establishing a bounding box that encompasses the polygon; identifying a plurality of sample points included within the bounding box; for each sample point included in the plurality of sample points: constructing a set of multiple lines that intersect one another at the sample point, wherein each line included in the set of multiple lines is parallel to at least one corresponding line constructed to intersect each other sample point included in the plurality of sample points; determining that the sample point resides outside the polygon by determining that all of the N vertices of the polygon reside on a first side of any of the lines included in the set of multiple lines that intersect one another at the sample point; and upon determining that the sample point lies outside the polygon, reducing the size of the bounding box until the sample point is excluded from the bounding box. 9. The non-transitory computer-readable medium of claim 8 , wherein the set of multiple lines comprises two lines positioned substantially perpendicular to one another, wherein each of the two lines is positioned at a substantially 45 degree angle relative to at least one edge of a pixel that includes the sample point. 10. The non-transitory computer-readable medium of claim 8 , wherein the set of multiple lines includes N lines, each of the N lines is substantially parallel to a different one of the N edges of the polygon, N being an integer. 11. The non-transitory computer-readable medium of claim 8 , wherein the step of constructing the set of multiple lines comprises: determining N slope values, wherein each of the N slope values corresponds to a different one of the N edges of the polygon; rounding each of the N slope values to generate N rounded slope values; and constructing N lines to generate the set of multiple lines, wherein each of the N lines is associated with a different one of the N rounded slope values, N being an integer. 12. The non-transitory computer-readable medium of claim 8 , further comprising the steps of: constructing a different set of multiple lines for each of the other sample points included within the bounding box; determining that each of the N vertices of the polygon resides on one side of any of the lines in each of the different sets of multiple lines; and culling each of the other sample points by collapsing the bounding box. 13. The non-transitory computer-readable medium of claim 8 , wherein the sample point is one of a plurality of sample points residing within a pixel. 14. The non-transitory computer-readable medium of claim 8 , wherein the polygon comprises a triangle. 15. A computing device configured to cull sample points associated with a polygon having N edges and N vertices, comprising: a processing unit configured to: establish a bounding box that encompasses the polygon; identify a plurality of sample points included within the bounding box; for each sample point included in the plurality of sample points: construct a set of multiple lines that intersect one another at the sample point, wherein each line included in the set of multiple lines is parallel to at least one corresponding line constructed to intersect each other sample point included in the plurality of sample points; determine that the sample point resides outside the polygon by determining that all of the N vertices of the polygon reside on a first side of any of the lines included in the set of multiple lines that intersect one another at the sample point; and upon determining that the sample point lies outside the polygon, reduce the size of the bounding box until the sample point is excluded from the bounding box. 16. The computing device of claim 15 , further comprising: a memory coupled to the processing unit and storing program instructions that, when executed by the processing unit, cause the processing unit to: establish the bounding box; identify the sample point; construct the set of multiple lines; determine that all of the N vertices of the polygon reside on a first side of at least one line included in the set of multiple lines; and reduce the size of the bounding box until the sample point is excluded from the bounding box. 17. The computing device of claim 15 , wherein the set of multiple lines comprises two lines positioned substantially perpendicular to one another, wherein each of the two lines is positioned at a substantially 45 degree angle relative to at least one edge of a pixel that includes the sample point. 18. The computing device of claim 15 , wherein the set of multiple lines includes N lines, each of th

Assignees

Inventors

Classifications

  • G06T11/40Primary

    Filling planar surfaces by adding surface attributes, e.g. adding colours or textures · CPC title

  • Two-dimensional [2D] image generation · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9633458B2 cover?
In a graphics processing pipeline, a processing unit establishes a bounding box around a polygon in order to identify sample points that are covered by the polygon. For a given sample point included within the bounding box, the processing unit constructs a set of lines that intersect at the sample point, where each line in the set of lines is parallel to at least one side of the polygon. When a…
Who is the assignee on this patent?
Steiner Walter R, Lum Eric, Kirkland Dale L, and 3 more
What technology area does this patent fall under?
Primary CPC classification G06T11/40. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 25 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).