作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (5): 212-214. doi: 10.3969/j.issn.1000-3428.2009.05.073

• 图形图像处理 • 上一篇    下一篇

光线追踪的kd-tree构造

邓 维,周竹荣,陆琳睿   

  1. (西南大学计算机与信息科学学院,重庆 400715)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-03-05 发布日期:2009-03-05

kd-tree Construction for Ray Tracing

DENG Wei, ZHOU Zhu-rong, LU Lin-rui   

  1. (School of Computer & Information Science, South West University, Chongqing 400715)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-03-05 Published:2009-03-05

摘要: 针对kd-tree的结构会直接影响光线追踪的渲染速度,结合SAH思想,设计和实现了一种引入光线的构造kd-tree的方法,简化构造过程中的计算,并生成优于用普通二分法及原始SAH思想构造的kd-tree。实验证明,该方法可加快渲染速度且场景效果不会变差,适用于游戏型学习软件及游戏。

关键词: kd树, SAH思想, 光线

Abstract: The structure of kd-tree has direct influence on the speed of ray tracing. In this paper, a new function which combines SAH to build kd-tree is designed and implemented. Different from ordinary dichotomy and original SAH, it imports ray to simplify the process of best- split-finding computation and obtains a preferable kd-tree which not only accelerates the speed but also assures the excellent effect.

Key words: kd-tree, SAH, ray

中图分类号: