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:  Quarterly
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, CNKIGoogle Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsweditorialoffice@gmail.com
  • Mar 01, 2024 News!

    Vol 19, No 1 has been published with online version    [Click]

  • Jan 04, 2024 News!

    JSW will adopt Article-by-Article Work Flow

  • 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]

  • Nov 02, 2023 News!

    Vol 18, No 4 has been published with online version   [Click]