Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
Anmerkung des Herausgebers: This file was selected as MATLAB Central Pick of the Week
An update to Joe Conti's popular vol3d function, allowing voxel colors and alpha values to be defined explicitly. Functionality is increased, but the function is entirely backwards compatible.
In cases where voxels can be any RGB color, use:
vol3d('CData', cdata);
where cdata is an MxNxPx3 array, with RGB color along the 4th dimension. In cases where color and alpha values are highly independent, specify an MxNxP alphamatte as follows:
vol3d('CData', cdata, 'Alpha', alpha);
This function amends the original (as little as possible) with the full permission of Joe Conti. The original function, which came with some additional tools for editing colormaps and alphamaps, is sadly no longer available.
The way this rendering approach works is to render the six sides of each voxel as a translucent plane.
Zitieren als
Oliver Woodford (2026). vol3d v2 (https://de.mathworks.com/matlabcentral/fileexchange/22940-vol3d-v2), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert: Volumetric 3, VOXview, pcolor3, TACTICS Toolbox
Allgemeine Informationen
- Version 1.2.2.0 (3,4 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.2.2.0 | Add comment on rendering technique. |
||
| 1.2.1.0 | Update description to acknowledge the disappearance of the original vol3d. |
||
| 1.2.0.0 | Avoid destroying other vol3d objects when rerendering. Added a demo. |
||
| 1.0.0.0 |
