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

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

Xiao Liang1, 2, Hongyu Yang1, 3, Yinling Qian1, 3, Yanci Zhang1, 3
1College of Computer Science, Sichuan University, Chengdu, China
2College of Computer Science, Southwest Petroleum University, Chengdu, China
3National Key Laboratory of Fundamental Science on Synthetic Vision, Chengdu, China

Abstract—Construction of effective acceleration structure is an essential and challenging problem in ray tracing. The surface area heuristic (SAH), regarded as the standard cost function for construction, is based on the assumption that rays are uniformly distributed. This simplification ignoring actual ray distribution results in a reduction both on construction and rendering performance. Unlike previous methods, we exploit ray distribution during construction in two steps. First, we propose an improved cost metric for constructing an efficient kd-tree by exploiting the visible primitives to approximate the ray distribution. Then, we device a stream based partial construction to prune the invisible primitives from building as early as possible, and improve memory access coherence. We also introduce a termination criterion for two-levels hierarchical construction to balance the construction time and memory consumption. Our experiments demonstrate that the algorithm can produce a kd-tree more efficient than the standard SAH, and a significant reduction on construction time and memory consumption.

Index Terms—ray tracing, the SAH, ray distribution, kdtree, partial construction

[PDF]

Cite: Xiao Liang, Hongyu Yang, Yinling Qian, 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.

General Information

ISSN: 1796-217X (Online)
Frequency:  Bimonthly (Since 2020)
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, Google Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsw@iap.org
  • Apr 26, 2021 News!

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

  • Jun 22, 2020 News!

    Papers published in JSW Vol 14, No 1- Vol 15 No 4 have been indexed by DBLP     [Click]

  • Sep 13, 2021 News!

    The papers published in Vol 16, No 6 have all received dois from Crossref    [Click]

  • Jan 28, 2021 News!

    [CFP] 2021 the annual meeting of JSW Editorial Board, ICCSM 2021, will be held in Rome, Italy, July 21-23, 2021   [Click]

  • Sep 13, 2021 News!

    Vol 16, No 6 has been published with online version     [Click]