Abstract
As the complexity of virtual environments increases, it becomes a critical issue to ray tracing of dynamic scenes interactively. In this paper, we propose an effective method to address this issue. Firstly, we improve the Surface Area Heuristics (SAH) based bounding volume hierarchies (BVHs) construction algorithm and present a sub-interval search criterion for predicting the optimal split plane position. Compared with the standard SAH approach, our algorithm is much faster but has a little quality degradation. Secondly, we present two new BVH refitting operations, which could run fast and obtain considerable quality of BVHs. The two operations are general and applicable to complex and dynamic scenes including a wide range of deformation. Lastly we use multithread to handle the dynamic scenes during animation, one thread for BVHs rebuilding asynchronously, the others for BVHs refitting and ray tracing. The results of this experiment show that our method is effective. Compared with the previous works, it obtains higher and smoother frame rate.
Similar content being viewed by others
References
Garanzha K (2008) Efficient clustered BVH update algorithm for highly-dynamic models. 2008 IEEE Symposium on Interactive Ray Tracing 2008, pp 123–130
Gui R, Graybill FA, Burdick RK, Ting N (1995) Confidence intervals on ratios of linear combinations for non-disjoint sets of expected mean squares. J Stat Plan Infer 48(2):215–227
Hanli Z, Wang CCL, Chen Y, Xiaogang J (2011) Parallel and efficient boolean on polygonal solids. Visual Comput 27(6–8):507–517
Hapala M, Havran V (2011) Review: kd-tree traversal algorithms for ray tracing. Comput Graph Forum 30(1):199–213
Havran V, Herzog R, Seidel H-P (2006) On fast construction of spatial hierarchies for ray tracing. IEEE Symp Interact Ray Tracing 2006:71–80
Hunt W, Mark WR, Stoll G (2006) Fast kd-tree construction with an adaptive error-bounded heuristic. IEEE Symp Interact Ray Tracing 2006:81–88
Hurley J, Kapustin A, Reshetov A, Soupikov A (2011) Fast ray tracing for modern general purpose CPU. International Conference Graphicon 2002:209–218
Kun Z, Gong M, Huang X, Guo B (2010) Data-parallel octrees for surface reconstruction. IEEE Trans Vis Comput Graph 17(5):669–681
Kun Z, Qiming H, Rui W, Baining G (2008) Real-time kd-tree construction on graphics hardware. ACM Trans Graph 27(5):126–137
Lauterbach C, Yoon S, Tuft D (2006) RT-DEFORM: interactive ray tracing of dynamic scenes using BVHs. In: Proceedings of the 2006 IEEE Symposium on Interactive Ray Tracing, pp 39–45
MacDonald JD, Booth KS (1990) Heuristics for ray tracing using space subdivision. Vis Comput 6(3):152–163
Pina JL, Cerezo E, Seron F (2011) Semantic visualization of 3D urban environments. Multimed Tools Appl 59(2):505–521
Stoll G, Part II: Achieving Real Time - Optimization Techniques (2005) In SIGGRAPH 2005 course on interactive ray tracing
Teschner M, Kimmerle S, Heidelberger B, Zachmann G, Raghupathi L, Fuhrmann A, Magnenat-Thalmann N, Strasser P, Volino P (2005) Collision detection for deformable objects. Comput Graph Forum 24(1):61–81
Wächter C, Keller A (2006) Instant ray tracing: the bounding interval hierarchy. In: Proceedings of the 17th Eurographics Symposium on Rendering, pp 132–142
Wald I, Boulos S, Shirley P (2007) Ray tracing deformable scenes using dynamic bounding volume hierarchies. ACM Trans Graph 26(6):25–32
Wald I, Havran V (2006) On building fast kd-trees for ray tracing and on doing that in O(nlogn). IEEE Symp Interact Ray Tracing 2006:61–69
Wald I, Ize T, Kensler A, Knoll A, Parker S (2006) Ray tracing animated scenes using coherent grid traversal. ACM Trans Graph 25(3):485–493
Wald I, Ize T, Parker SG (2008) Fast parallel and asynchronous construction of BVHs for ray tracing animated scenes. Comput Graph 32(1):3–13
Yoon SE, Crutis S, Manocha D (2007) Ray tracing dynamic scenes using selective restructuring. In: Proceedings of the Eurographics Symposium on Rendering, pp 31–45
Acknowledgments
This research work has been partially supported by National High-tech Research & Development Program of China under Grant NO.2010AA804022.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Yin, M., Li, S. Fast BVH construction and refit for ray tracing of dynamic scenes. Multimed Tools Appl 72, 1823–1839 (2014). https://doi.org/10.1007/s11042-013-1476-y
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-013-1476-y