A VECTORIZED TRAVERSAL ALGORITHM FOR RAY TRACING
José María Noguera, Carlos Ureña, Rubén Jesús García
2009
Abstract
This article presents an optimized ray tracing algorithm which improves standard existing algorithms by processing simultaneously a large set of rays and carrying out a single traversal of the spatial indexing of the scene with all rays. This allows hardware SIMD functionality to be used efficiently and produces coherent memory accesses. Furthermore, during the single traversal, rays are grouped in such a way that these advantages are maintained for non coherent ray sets. The algorithm was observed to reduce the computation costs with respect to other standard solutions, especially for non coherent ray sets. It is worth noting that its characteristics make it especially suitable for graphics hardware.
References
- Appel, A. (1968). Some techniques for shading machine renderings of solids. In AFIPS 1968 Spring Joint Computer Conf., volume 32, pages 37-45.
- Benthin, C., Wald, I., Scherbaum, M., and Friedrich, H. (2006). Ray tracing on the cell processor. rt, 0:15- 23.
- Boulos, S., Wald, I., and Benthin, C. (2008). Adaptive ray packet reordering. Interactive Ray Tracing, 2008. RT 2008. IEEE Symposium on, pages 131-138.
- Carr, N. A., Hall, J. D., and Hart, J. C. (2002). The ray engine. In HWWS 7802, pages 37-46, Aire-la-Ville, Switzerland. Eurographics Association.
- Christen, M. (2005). Ray tracing on gpu. Master's thesis, University of Applied Sciences Basel, Switzerland.
- Foley, T. and Sugerman, J. (2005). Kd-tree acceleration structures for a gpu raytracer. In HWWS 7805, pages 15-22, New York, NY, USA. ACM.
- Gribble, C. P. and Ramani, K. (2008). Coherent ray tracing via stream filtering. Interactive Ray Tracing, 2008. RT 2008. IEEE Symposium on, pages 59-66.
- Hanrahan, P. (1986). Using caching and breadth-first search to speed up ray-tracing. In Proceedings on Graphics Interface 7886/Vision Interface 7886, pages 56-61.
- Intel Corporation (2008). Intel 64 and IA-32 Architectures Software Developer's Manual Volume 1: Basic Architecture.
- Jensen, H. W. (1996). Global Illumination Using Photon Maps. In Rendering Techniques 7896, pages 21-30.
- Mahovsky, J. and Wyvill, B. (2006). Memory-conserving bounding volume hierarchies with coherent raytracing. Comput. Graph. Forum, 25(2):173-182.
- Möller, T. and Trumbore, B. (1997). Fast, minimum storage ray-triangle intersection. journal of graphics tools, 2(1):21-28.
- Noguera, J. M. and Ure n˜a, C. (2007). Un algoritmo de recorrido vectorizado para ray-tracing. In CEDICEIG'07: Proceedings of the XVII Congreso Espan˜ol de Informática Gráfica, pages 41-50.
- Pharr, M., Kolb, C., Gershbein, R., and Hanrahan, P. (1997). Rendering complex scenes with memory-coherent ray tracing. In SIGGRAPH 7897, pages 101-108.
- Purcell, T. J., Buck, I., Mark, W. R., and Hanrahan, P. (2002). Ray tracing on programmable graphics hardware. ACM Transactions on Graphics, 21(3):703- 712.
- Revelles, J., Uren˜a, C., and Lastra, M. (2000). An efficient parametric algorithm for octree traversal. In WSCG'2000, pages 212-219.
- Santalo, L. A. (1976). Integral geometry and geometric probability. Addison-Wesley, Massachusetts (etc.).
- Sbert, M. (1993). An integral geometry based method for fast form-factor computation. Computer Graphics Forum (Eurographics 7893), 12(3):409-420.
- Wald, I. (2004). Realtime Ray Tracing and Interactive Global Illumination. PhD thesis, Saarland University.
- Wald, I., Benthin, C., Wagner, M., and Slusallek, P. (2001). Interactive rendering with coherent ray tracing. In Computer Graphics Forum, volume 20(3), pages 153- 164.
- Wald, I., Gribble, C. P., Boulos, S., and Kensler, A. (2007). SIMD Ray Stream Tracing. In Symposium on Interactive Ray Tracing, Conference Program, page 24.
Paper Citation
in Harvard Style
Noguera J., Ureña C. and Jesús García R. (2009). A VECTORIZED TRAVERSAL ALGORITHM FOR RAY TRACING . In Proceedings of the Fourth International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2009) ISBN 978-989-8111-67-8, pages 58-63. DOI: 10.5220/0001767500580063
in Bibtex Style
@conference{grapp09,
author={José María Noguera and Carlos Ureña and Rubén Jesús García},
title={A VECTORIZED TRAVERSAL ALGORITHM FOR RAY TRACING},
booktitle={Proceedings of the Fourth International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2009)},
year={2009},
pages={58-63},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0001767500580063},
isbn={978-989-8111-67-8},
}
in EndNote Style
TY - CONF
JO - Proceedings of the Fourth International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2009)
TI - A VECTORIZED TRAVERSAL ALGORITHM FOR RAY TRACING
SN - 978-989-8111-67-8
AU - Noguera J.
AU - Ureña C.
AU - Jesús García R.
PY - 2009
SP - 58
EP - 63
DO - 10.5220/0001767500580063