Ray/Triangle Intersection
Ray/triangle intersection using the algorithm proposed by Möller and Trumbore (1997). The zip file includes one example of intersection.
References:
[1] "Real Time Rendering". Third Edition.
Tomas Akenine-Möller, Eric Haines and Naty Hoffman.
A. K. Peters, Ltd. 2008 (Section 16.8)
[2] "Fast, minimum storage ray-triangle intersection".
Tomas Möller and Ben Trumbore.
Journal of Graphics Tools, 2(1):21--28, 1997.
[3] Other algorithms:
http://www.realtimerendering.com/intersections.html
Cite As
Jesús P. Mena-Chalco (2024). Ray/Triangle Intersection (https://www.mathworks.com/matlabcentral/fileexchange/25058-ray-triangle-intersection), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Ray/box Intersection, A fast voxel traversal algorithm for ray tracing, Triangle/Ray Intersection, Hardware accelerated ray-triangle intersection
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
rayTriangleIntersection/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |