Volume 9 Number 3 (Mar. 2014)
Home > Archive > 2014 > Volume 9 Number 3 (Mar. 2014) >
JSW 2014 Vol.9(3): 596-604
doi: 10.4304/jsw.9.3.596-604

A Fast Kd-tree Construction for Ray Tracing based on Efficient Ray Distribution

Xiao Liang 1,2 , Hongyu Yang 1,3 , Yinling Qian 1,3 , Yanci Zhang 1,3

  • 1 College of Computer Science, Sichuan University, Chengdu, China
  • 2 College of Computer Science, Southwest Petroleum University, Chengdu, China
  • 3 National Key Laboratory of Fundamental Science on Synthetic Vision, Chengdu, China

Abstract

Construction of effective acceleration structure isan essential and challenging problem in ray tracing. Thesurface area heuristic (SAH), regarded as the standard costfunction for construction, is based on the assumption thatrays are uniformly distributed. This simplification ignoringactual ray distribution results in a reduction both onconstruction and rendering performance. Unlike previousmethods, we exploit ray distribution during construction intwo steps. First, we propose an improved cost metric forconstructing an efficient kd-tree by exploiting the visibleprimitives to approximate the ray distribution. Then, wedevice a stream based partial construction to prune theinvisible primitives from building as early as possible, andimprove memory access coherence. We also introduce atermination criterion for two-levels hierarchicalconstruction to balance the construction time and memoryconsumption. Our experiments demonstrate that thealgorithm can produce a kd-tree more efficient than thestandard SAH, and a significant reduction on constructiontime and memory consumption.

Keywords

  • ray tracing
  • the SAH
  • ray distribution
jsw0903-10

How to Cite

Copied

Xiao Liang, Hongyu Yang, Yinling Qian, and Yanci Zhang, "A Fast Kd-tree Construction for Ray Tracing based on Efficient Ray Distribution," Journal of Software, vol. 9, no. 3, pp. 596-604, 2014. https://doi.org/ 10.4304/jsw.9.3.596-604

Copyright & License

Copyright © 2014 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions

General Information

  • ISSN: 1796-217X (Online)

  • Abbreviated Title: J. Softw.

  • Frequency:  Biannually

  • APC: 500USD

  • DOI: 10.17706/JSW

  • Editor-in-Chief: Prof. Antanas Verikas

  • Executive Editor: Ms. Cecilia Xie

  • Abstracting/ Indexing: DBLP, CNKI, 

  • Google Scholar, ProQuest,
           INSPEC(IET), ULRICH's Periodicals
           Directory, WorldCat, etc

  • E-mail: editor@jsoftware.us

  • Aug 27, 2026 News!

    Vol 21, No 1 has been published with online version

  • Mar 30, 2026 News!

    Vol 20, No 2 has been published with online version   [Click]

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Mar 07, 2025 News!

    JSW had implemented online submission system   [Click]