Claims
- 1. A method of removing hidden surfaces for reducing memory access and thus improving the performance of a three-dimensional graphic system, said three-dimensional graphic system including a pre-test Z cache, a pre-test Z module, a control logic, a Z-buffer cache and a frame buffer memory, said pre-test Z cache and Z-buffer cache storing depth values of all pixels having been inputted which satisfy a Z Test Mode, the method comprising the following steps:(a) determining if input pixels being processed are in said pre-test Z cache and Z-buffer cache; (b) controlling operations of said frame buffer memory, pre-test Z cache and Z-buffer cache by said control logic according to the results of step (a); and (c) said pre-test Z module comparing the depth values stored in said pre-test Z cache with the depth values of the input pixels being processed in a parallel manner to enhance the efficiency of the graphic system; if the comparing result does not satisfy the Z Test Mode, the input pixels being discarded; otherwise, the depth values of the input pixels being written to said pre-test Z cache.
- 2. The method of claim 1, wherein said pre-test Z module is applied in a shading process of said three-dimensional graphic system.
- 3. A system of removing hidden surfaces for reducing memory access and thus improving the performance of a three-dimensional graphic system, comprising:a FIFO for storing a plurality of input pixels being processed; a pre-test Z cache for storing depth values of all pixels having been inputted which satisfy a Z Test Mode; a pre-test Z module including a plurality of pre-test units, said pre-test units comparing the depth values stored in said pre-test Z cache with the depth values of the input pixels at the output end of the FIFO in a parallel manner to enhance the efficiency of said graphic system; if the comparing result does not satisfy the Z Test Mode, the input pixels being discarded; otherwise, the depth values of the input pixels being written to said pre-test Z cache; a validity-test module connected to said pre-test Z module for executing validity-test functions for the input pixels being processed; a Z-buffer cache connected to said pre-test Z cache for storing depth values of all pixels having been inputted which satisfy the Z Test Mode; a Z-buffer test module connected to the Z-buffer cache and validity-test module for comparing the depth values of input pixels passing through said validity-test module with the depth values stored in the Z-buffer cache; if the comparing result does not satisfy the Z Test Mode, the input pixels being discarded; otherwise, the depth values of the input pixels being written to said pre-test Z cache; a frame buffer memory connected to said Z-buffer cache, pre-test Z cache and validity-test module for storing all pixels having passed through validity tests; and a control logic for managing operations of said FIFO, pre-test Z cache, Z-buffer cache and frame buffer memory.
- 4. The system of claim 3, wherein said plurality of pre-test units are applied in a shading process of said three-dimensional graphic system.
Parent Case Info
This application is a continuation-in-part of Ser. No. 09/360,597 Jul. 26, 1999.
US Referenced Citations (6)
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
09/360597 |
Jul 1999 |
US |
Child |
09/596981 |
|
US |