An Efficient z-Buffer Algorithm using Temporal Coherence

시간 일관성을 이용한 효율적인 z-버퍼 알고리즘

  • Published : 2000.01.15

Abstract

We present a method that enhances the rendering speed of z-buffer algorithm using temporal coherence between two contiguous frames on fixed viewing conditions. Conventional z-buffer algorithm stores depth value for each pixel on a view plane while rendering some polygons, then it determines the visibility of the remaining polygons based on the stored depth values. If we can get color and depth information for some polygons without rendering, it is possible to generate an image by rendering only the remaining ones. In case of high frame rate, we can find the fact that sets of static polygons of the two contiguous frames are almost the same. This temporal coherence enables us to get the color and depth information of static polygons efficiently. Our algorithm stores color and depth information of static polygons and reuses it for generating the next frame. This method can be easily implemented since it does not require complex data structure and modification for conventional z-buffer algorithm. Also it is adequate for hardware implementation.

이 논문에서는 시점이 고정된 경우 프레임간의 시간 일관성을 이용해서 z-버퍼 알고리즘의 렌더링 속도를 향상시키는 방법을 제안한다. z-버퍼 알고리즘은 일단의 다각형들을 렌더링하는 동안 각 화소의 깊이 값을 저장해서 나머지 다각형들을 렌더링할 때 이들의 가시성을 판별하는데 사용한다. 만약 일부 다각형들에 해당하는 색상과 깊이 정보를 렌더링을 하지 않고도 얻어 낼 수 있다면, 나머지 다각형들만을 렌더링해서 동일한 화상을 얻을 수 있다. 화면의 갱신주기가 짧은 경우 연속된 두 프레임에서 움직임이 없는 다각형들의 집합은 상당히 큰 일관성을 가진다. 이러한 시간 일관성을 이용하면 연속한 프레임에서 움직임이 없는 다각형들의 색상과 깊이 정보를 새롭게 계산할 필요가 없다. 이를 위해 고정된 다각형들의 색상과 깊이 정보를 따로 저장해두었다가 재사용하는 방법을 제안한다. 이 방법은 복잡한 자료구조를 사용하거나 기존 z-버퍼 알고리즘 자체를 바꾼 것이 아니므로 구현이 쉽고 하드웨어로 구현하기도 용이하다.

Keywords

References

  1. Foley, J. D., Dam, A. V., Feiner S. K. and Hughes, J. F., Computer Graphics principles and practice, pp 668, Addison-Wesley, 1995
  2. Rohlf, J. and Helman, J., 'IRIS Performer: A High Performance Multiprocessing Toolkit for Real-Time 3D Graphics,' Proc. of ACM SIGGRAPH94, pp. 381-394. 1994 https://doi.org/10.1145/192161.192262
  3. Akeley, K., 'Reality Engine graphics,' Proc. of ACM SIGGRAP93, pp. 109-106, 1993 https://doi.org/10.1145/166117.166131
  4. Pineda, J. 'A Parallel Algorithm for Polygon Rasterization,' Computer Graphics, Vol. 22, No. 4, pp. 17-20, 1988 https://doi.org/10.1145/378456.378457
  5. Teller, S. J., 'Visibility Computations in Densely Occluded Polyhedral Environments,' PhD thesis in UC Berkeley, 1992
  6. Green, N., Kass, M. and Miller, G., 'Hierarchical Z-Buffer Visibility,' Proc. of ACM SIGGRAPH93, pp. 231-238, 1993 https://doi.org/10.1145/166117.166147
  7. Greene, N., 'Hierarchical polygon tiling with coverage masks,' Proc. of SIGGRAPH96, 65-74, 1996 https://doi.org/10.1145/237170.237207
  8. Zhang, H., Manocha, D., Hudson, T. and Hoff, K. E. III, 'Visibility Culling using Hierarchical Occlusion Maps,' Proc. of ACM SIGGRAPH97, pp. 77-88, 1997 https://doi.org/10.1145/258734.258781
  9. Catmull, E., 'A Subdivision Algorithm for Computer Display of Curved Surfaces,' Ph.D. Thesis, Computer Science Department, University of Utah, 1974
  10. Hubschman, H. and Zucker, S. W., 'Frame to frame coherence and the hidden surface computation constraints for a convex world,' ACM Transactions on Graphics, 1(2):129-162, 1982 https://doi.org/10.1145/357299.357302
  11. Coorg, S. and Teller, S., 'Temporally coherent conservative visibility,' Proc. 12th ACM symposium on Computational Geometry, 1996 https://doi.org/10.1145/237218.237242
  12. Jevans, D., 'Object space temporal coherence for ray tracing,' Proc. Graphics Interface '92, 176-183, 1992
  13. Chapman, J., Calvert, T.W. and Dill, J. 'Spatial-temporal coherence in ray tracing,' Proc. Graphics Interface '90, 196-204, 1990
  14. Badt, S. J., 'Two algorithms for taking advantage of temporal coherence in ray tracing,' The Visual Computer, 4: 123-132, 1988 https://doi.org/10.1007/BF01908895
  15. Microsoft, DirectX6.0 API Specification, Microsoft Corporation, Redmond WA, 1997
  16. McMillan, L. and Bishop, G., 'Plenoptic Modeling: An Image Based Rendering system,' Proc. of SIGGRAPH95, pp. 39-46, 1995 https://doi.org/10.1145/218380.218398