RayShapeArticle_FEX.zip
Version 1.3.0.2 (22,9 ko) par
Paul Peeling
Solving Large Geometric and Visualization Problems with GPU Computing in MATLAB
It is often necessary to scale a technical computing problem involving a small amount of data to a much larger data set. Simply looping over each section of the data can become a computational bottleneck, especially if the application has to run in real time. MATLAB® offers several approaches for accelerating algorithms, including performing computations in parallel on multicore processors and GPUs. If you have an NVDIA GPU available, one approach is to leverage the parallel architecture and throughput of the GPU with Parallel Computing Toolbox TM. Certain classes of problems, especially in computational geometry and visualization, can be solved very efficiently on a GPU.
In this submission we will modify an algorithm to run on a GPU, and then solve a geometric problem involving millions of lines and shapes in under a second. We illustrate this approach using the problem of tracing light rays as they intersect with objects. This type of problem is present in a variety of applications, including scene rendering and medical imaging.
This code accompanies the article "Solving Large Geometric and Visualization Problems with GPU Computing in MATLAB" (https://www.mathworks.com/company/technical-articles/solving-large-geometric-and-visualization-problems-with-gpu-computing-in-matlab.html)
Citation pour cette source
Paul Peeling (2026). RayShapeArticle_FEX.zip (https://fr.mathworks.com/matlabcentral/fileexchange/46502-rayshapearticle_fex-zip), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2014a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur GPU Computing dans Help Center et MATLAB Answers
Tags
Remerciements
Inspiré par : Triangle/Ray Intersection
A inspiré : Hardware accelerated ray-box intersection, Hardware accelerated ray-triangle intersection
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
RayShapeArticle_FEX
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.3.0.2 | Updated article URL |
||
| 1.3.0.1 | Updated license |
||
| 1.3.0.0 | Corrected order of legend entries when running the benchmark scripts. Thanks to Vadim Bulitko for spotting this.
|
||
| 1.1.0.0 | Added link to article. |
||
| 1.0.0.0 |
