Ray/box Intersection
Ray/box intersection using Smits' algorithm
The zip file includes one example of intersection.
Author:
Jesús Mena
References:
[1] "Efficiency issues for ray tracing".
B. Smits.
Journal of Graphics Tools, 3(2):1–14, 1998.
[2] "An efficient and robust ray-box intersection algorithm"
A. Williams, S. Barrus, and R.K. Morley and P. Shirley.
Journal of Graphics, GPU, & Game Tools, 10(1):45-60, 2005.
[3] Other algorithms:
http://www.realtimerendering.com/intersections.html
Cite As
Jesús P. Mena-Chalco (2026). Ray/box Intersection (https://uk.mathworks.com/matlabcentral/fileexchange/26834-ray-box-intersection), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Ray/Triangle Intersection
Inspired: Hardware accelerated ray-box intersection, A fast voxel traversal algorithm for ray tracing, Fast raytracing through a 3D grid
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
rayBoxIntersection/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
