Polygon2Voxel
Convert a triangulated mesh into a voxel volume
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Editor's Note: This file was selected as MATLAB Central Pick of the Week
Cite As
Dirk-Jan Kroon (2026). Polygon2Voxel (https://uk.mathworks.com/matlabcentral/fileexchange/24086-polygon2voxel), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.8.0 (3.66 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.8.0 | pure Matlab (previous version required c++ compiler) |
||
| 1.7.0 | Function now also working without compiling c-code |
||
| 1.6.0 | Added boundary options |
||
| 1.5.0 | Now first index volume is 1,1,1 instead of 0,0,0, and YXZ dimensions as in Matlab convention (Thanks Yuanming SUO). |
||
| 1.4.0 | Changed output to Logicals instead of Double datatype |
||
| 1.3.0 | Small Bug fixed, for the case if all vertices are outside the volume. Only not draw the face if they are outside at the same side of the volume. |
||
| 1.2.0 | Linux Ubuntu Tested |
||
| 1.1.0 | Added center and resize options |
||
| 1.0.0 |