[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/1572769.1572779acmconferencesArticle/Chapter ViewAbstractPublication PageshpgConference Proceedingsconference-collections
research-article

Efficient depth peeling via bucket sort

Published: 01 August 2009 Publication History

Abstract

In this paper we present an efficient algorithm for multi-layer depth peeling via bucket sort of fragments on GPU, which makes it possible to capture up to 32 layers simultaneously with correct depth ordering in a single geometry pass. We exploit multiple render targets (MRT) as storage and construct a bucket array of size 32 per pixel. Each bucket is capable of holding only one fragment, and can be concurrently updated using the MAX/MIN blending operation. During the rasterization, the depth range of each pixel location is divided into consecutive subintervals uniformly, and a linear bucket sort is performed so that fragments within each subintervals will be routed into the corresponding buckets. In a following fullscreen shader pass, the bucket array can be sequentially accessed to get the sorted fragments for further applications. Collisions will happen when more than one fragment is routed to the same bucket, which can be alleviated by multi-pass approach. We also develop a two-pass approach to further reduce the collisions, namely adaptive bucket depth peeling. In the first geometry pass, the depth range is redivided into non-uniform subintervals according to the depth distribution to make sure that there is only one fragment within each subinterval. In the following bucket sorting pass, there will be only one fragment routed into each bucket and collisions will be substantially reduced. Our algorithm shows up to 32 times speedup to the classical depth peeling especially for large scenes with high depth complexity, and the experimental results are visually faithful to the ground truth. Also it has no requirement of pre-sorting geometries or post-sorting fragments, and is free of read-modify-write (RMW) hazards.

References

[1]
Bavoil, L., and Myers, K. 2008. Order independent transparency with dual depth peeling. Tech. rep., NVIDIA Corporation.
[2]
Bavoil, L., Callahan, S. P., Lefohn, A., ao L. D. Comba, J., and Silva, C. T. 2007. Multi-fragment effects on the gpu using the k-buffer. In Proceedings of the 2007 symposium on Interactive 3D graphics and games, 97--104.
[3]
Carpenter, L. 1984. The a-buffer, an antialiased hidden surface method. In Proceedings of the 11th annual conference on Computer graphics and interactive techniques, 103--108.
[4]
Carr, N., Mech, R., and Miller, G. 2008. Coherent layer peeling for transparent high-depth-complexity scenes. In Proceedings of the 23rd ACM SIGGRAPH/EUROGRAPHICS symposium on Graphics hardware, 33--40.
[5]
Catmull, E. E. 1974. A Subdivision Algorithm for Computer Display of Curved Surfaces. PhD thesis, University of Utah.
[6]
Eisemann, E., and Décoret, X. 2006. Fast scene voxelization and applications. In SIGGRAPH 2006 Sketches.
[7]
Everitt, C. 2001. Interactive order-independent transparency. Tech. rep., NVIDIA Corporation.
[8]
Govindaraju, N. K., Henson, M., Lin, M. C., and Manocha, D. 2005. Interactive visibility ordering and transparency computations among geometric primitives in complex environments. In Proceedings of the 2005 symposium on Interactive 3D graphics and games, 49--56.
[9]
Houston, M., Preetham, A., and Segal, M. 2005. A hardware f-buffer implementation. Tech. rep., Stanford University.
[10]
Jouppi, N. P., and Chang, C.-F. 1999. z 3: an economical hardware technique for high-quality antialiasing and transparency. 85--93.
[11]
Liu, B.-Q., Wei, L.-Y., and Xu, Y.-Q. 2006. Multi-layer depth peeling via fragment sort. Tech. rep., Microsoft Research Asia.
[12]
Mammen, A. 1989. Transparency and antialiasing algorithms implemented with the virtual pixel maps technique. IEEE Computer Graphics and Applications 9, 4, 43--55.
[13]
Mark, W. R., and Proudfoot, K. 2001. The f-buffer: a rasterization-order fifo buffer for multi-pass rendering. In Proceedings of the ACM SIGGRAPH/EUROGRAPHICS workshop on Graphics hardware, 57--64.
[14]
Myers, K., and Bavoil, L. 2007. Stencil routed a-buffer. ACM SIGGRAPH 2007 Technical Sketch Program.
[15]
NVIDIA. 2005. Gpu programming exposed: the naked truth behind nvidia's demos. Tech. rep., NVIDIA Corporation.
[16]
Wexler, D., Gritz, L., Enderton, E., and Rice, J. 2005. Gpu-accelerated high-quality hidden surface removal. In Proceedings of the ACM SIGGRAPH/EUROGRAPHICS conference on Graphics hardware, 7--14.
[17]
Wittenbrink, C. M. 2001. R-buffer: a pointerless a-buffer hardware architecture. In Proceedings of the ACM SIGGRAPH/EUROGRAPHICS workshop on Graphics hardware, 73--80.

Cited By

View all
  • (2024)Deep and Fast Approximate Order Independent TransparencyComputer Graphics Forum10.1111/cgf.1507143:6Online publication date: 6-Mar-2024
  • (2024)CCML: Curriculum and Contrastive Learning Enhanced Meta-Learner for Personalized Spatial Trajectory PredictionIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2024.337653936:9(4499-4514)Online publication date: Sep-2024
  • (2024)From Algorithms to Architecture: Computational Methods for House Floorplan GenerationSN Computer Science10.1007/s42979-024-02907-05:5Online publication date: 27-May-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
HPG '09: Proceedings of the Conference on High Performance Graphics 2009
August 2009
185 pages
ISBN:9781605586038
DOI:10.1145/1572769
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 August 2009

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. bucket sort
  2. depth peeling
  3. graphics hardware
  4. histogram equalization
  5. max/min blending
  6. multiple render target (MRT)
  7. order independent transparency (OIT)

Qualifiers

  • Research-article

Funding Sources

Conference

HPG 2009
Sponsor:
HPG 2009: High Performance Graphics
August 1 - 3, 2009
Louisiana, New Orleans

Acceptance Rates

Overall Acceptance Rate 15 of 44 submissions, 34%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)26
  • Downloads (Last 6 weeks)2
Reflects downloads up to 17 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Deep and Fast Approximate Order Independent TransparencyComputer Graphics Forum10.1111/cgf.1507143:6Online publication date: 6-Mar-2024
  • (2024)CCML: Curriculum and Contrastive Learning Enhanced Meta-Learner for Personalized Spatial Trajectory PredictionIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2024.337653936:9(4499-4514)Online publication date: Sep-2024
  • (2024)From Algorithms to Architecture: Computational Methods for House Floorplan GenerationSN Computer Science10.1007/s42979-024-02907-05:5Online publication date: 27-May-2024
  • (2023)Potentially Visible Hidden-Volume Rendering for Multi-View WarpingACM Transactions on Graphics10.1145/359210842:4(1-11)Online publication date: 26-Jul-2023
  • (2022)Wavelet-Based Order Independent TransparencyJournal of Computer-Aided Design & Computer Graphics10.3724/SP.J.1089.2022.1918634:05(760-767)Online publication date: 2-Dec-2022
  • (2021)Contrastive Curriculum Learning for Sequential User Behavior Modeling via Data AugmentationProceedings of the 30th ACM International Conference on Information & Knowledge Management10.1145/3459637.3481905(3737-3746)Online publication date: 26-Oct-2021
  • (2020)A Survey of Multifragment RenderingComputer Graphics Forum10.1111/cgf.1401939:2(623-642)Online publication date: 13-Jul-2020
  • (2019)Occlusion Management Techniques for the Visualization of Transportation Networks in Virtual 3D City ModelsProceedings of the 12th International Symposium on Visual Information Communication and Interaction10.1145/3356422.3356445(1-8)Online publication date: 20-Sep-2019
  • (2019)A Voxel-Based Rendering Pipeline for Large 3D Line SetsIEEE Transactions on Visualization and Computer Graphics10.1109/TVCG.2018.283437225:7(2378-2391)Online publication date: 1-Jul-2019
  • (2018)Multi-Layer Depth of Field Rendering with Tiled SplattingProceedings of the ACM on Computer Graphics and Interactive Techniques10.1145/32032001:1(1-17)Online publication date: 25-Jul-2018
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media