Claims
- 1. A method for avoiding reading z-values in a graphics pipeline, comprising:storing near z-values each representative of a near z-value on an object in a region, wherein the region is defined by a tile and a coverage mask therein; comparing the stored near z-values with far z-values computed for other objects in the region, wherein the comparison indicates whether an object is visible in the region; and based on the comparison, conditionally reading from a z-value buffer z-values previously stored for image samples in the region; wherein the reading of the z-values from the z-value buffer is avoided in the graphics pipeline.
- 2. The method as recited in claim 1, wherein the near z-values are stored in a record associated with the tile.
- 3. The method as recited in claim 1, wherein each near z-value represents a nearest z-value on the object in the region.
- 4. The method as recited in claim 1, wherein each far z-value represents a farthest z-value on the other objects in the region.
- 5. The method as recited in claim 1, wherein the previously stored z-values are read from memory only if the far z-values computed for the other objects in the region are farther than or equal to the corresponding near z-values.
- 6. The method as recited in claim 1, wherein a pair of the near z-values are stored for the tile.
- 7. The method as recited in claim 6, wherein a first near z-value is associated with a first sub-region covered by the coverage mask and a second near z-value is associated with a second sub-region not covered by the coverage mask.
- 8. The method as recited in claim 1, wherein the graphics pipeline includes a culling stage having an input for receiving a plurality of the objects, the culling stage testing the objects against a first depth buffer for occlusion and non-definitively but conservatively culling objects from the plurality of objects which it proves to be occluded; and a renderer downstream of the culling stage which, while the culling stage conservatively culls objects for a given frame, renders objects into the given frame which were tested for occlusion in the culling stage but which were not proven upstream of the renderer to be occluded.
- 9. A computer program product for avoiding reading z-values in a graphics pipeline, comprising:(a) computer code for storing near z-values each representative of a near z-value on an object in a region, wherein the region is defined by a tile and a coverage mask therein; (b) computer code for comparing the stored near z-values with far z-values computed for other objects in the region; and (c) computer code for based on the comparison, conditionally reading from memory z-values previously stored for image samples in the region; (d) wherein the comparison indicates whether an object is visible in the region.
- 10. The computer program product as recited in claim 9, wherein the near z-values are stored in a record associated with the tile.
- 11. The computer program product as recited in claim 9, wherein each near z-value represents a nearest z-value on the object in the region.
- 12. The computer program product as recited in claim 9, wherein each far z-value represents a farthest z-value on the other objects in the region.
- 13. The computer program product as recited in claim 9, wherein the previously stored z-values are read from memory only if the far z-values computed for the other objects in the region are farther than or equal to the corresponding near z-values.
- 14. The computer program product as recited in claim 9, wherein a pair of the near z-values are stored for the tile.
- 15. The computer program product as recited in claim 14, wherein a first near z-value is associated with a first sub-region covered by the coverage mask and a second near z-value is associated with a second sub-region not covered by the coverage mask.
- 16. The computer program product as recited in claim 9, wherein the graphics pipeline includes a culling stage having an input for receiving a plurality of the objects, the culling stage testing the objects against a first depth buffer for occlusion and non-definitively but conservatively culling objects from the plurality of objects which it proves to be occluded; and a renderer downstream of the culling stage which, while the culling stage conservatively culls objects for a given frame, renders objects into the given frame which were tested for occlusion in the culling stage but which were not proven upstream of the renderer to be occluded.
- 17. A system for avoiding reading z-values in a graphics pipeline, comprising:(a) logic for storing near z-values each representative of a near z-value on an object in a region, wherein the region is defined by a tile and a coverage mask therein; (b) logic for comparing the stored near z-values with far z-values computed for other objects in the region; and (c) logic for, based on the comparison, conditionally reading from memory z-values previously stored for image samples in the region; (d) wherein the comparison indicates whether an object is visible in the region.
RELATED APPLICATION(S)
The present application is a continuation-in-part of parent applications entitled “METHOD AND APPARATUS FOR OCCLUSION CULLING IN GRAPHICS SYSTEMS” filed Jul. 22, 1998 under Ser. No. 09/121,317, and “SYSTEM, METHOD AND ARTICLE. OF MANUFACTURE FOR Z-VALUE AND STENCIL CULLING PRIOR TO RENDERING IN A COMPUTER GRAPHICS PROCESSING PIPELINE” filed May 31, 2000 under Ser. No. 09/585,810. Further, the present application claims the priority date of a provisional application entitled “MODIFIED METHOD AND APPARATUS FOR IMPROVED OCCLUSION CULLING IN GRAPHICS SYSTEMS” filed May 23, 2001 under Ser. No. 60/293,250.
US Referenced Citations (6)
Provisional Applications (1)
|
Number |
Date |
Country |
|
60/293250 |
May 2001 |
US |
Continuation in Parts (2)
|
Number |
Date |
Country |
Parent |
09/121317 |
Jul 1998 |
US |
Child |
09/885665 |
|
US |
Parent |
09/585810 |
May 2000 |
US |
Child |
09/121317 |
|
US |