You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Cite As
Adam Aitkenhead (2026). Mesh voxelisation (https://uk.mathworks.com/matlabcentral/fileexchange/27390-mesh-voxelisation), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: stlTools, intriangulation(vertices,faces,testp,heavytest), scafSLICR
General Information
- Version 1.20.0.1 (134 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.20.0.1 | Updated contact details. |
||
| 1.20.0.0 | Added a missing sub-function |
||
| 1.19.0.0 | Added checking of ray/vertex intersections, which reduces artefacts in situations where the mesh vertices are located directly on ray paths in the voxelisation grid. |
||
| 1.18.0.0 | Minor edits to the documentation |
||
| 1.17.0.0 | Improved method of finding which mesh facets can possibly be crossed by each ray. Up to 80% reduction in run-time. |
||
| 1.16.0.0 | Include the utility CONVERT_meshformat.m, which enables the vertex coordinates to be converted from an Nx3x3 array to faces,vertices info. Ie.
|
||
| 1.15.0.0 | Fixed bug in automatic grid generation. |
||
| 1.14.0.0 | Changed handling of automatic grid generation to reduce chance of artefacts. |
||
| 1.12.0.0 | The grid no longer has to entirely enclose the mesh. |
||
| 1.11.0.0 | Allow input to be a structure containing [faces,vertices] data, similar to the type of structure output by isosurface. |
||
| 1.10.0.0 | And another minor bug fix. |
||
| 1.9.0.0 | Bug fix. |
||
| 1.8.0.0 | Enable ray-tracing in any combination of the x,y,z directions. |
||
| 1.7.0.0 | Improved the automatic detection of binary and ascii STL files. |
||
| 1.6.0.0 | Fixed a bug introduced by the change to a logical output array. |
||
| 1.5.0.0 | Output is now a logical array, improving the meory efficiency. |
||
| 1.4.0.0 | Provided a clearer example of how to use the code. |
||
| 1.3.0.0 | Now optionally output the grid x,y,z coordinates. Robustness also improved. |
||
| 1.2.0.0 | Now also works with non-STL input. Changes also provide a significant speed improvement. |
||
| 1.1.0.0 | Fixed a bug which caused artifacts to appear for some STLs. |
||
| 1.0.0.0 |
