Wavefront OBJ toolbox
Read and Write Wavefront OBJ geometry and MTL files.
A Wavefront Geometry Object file is supported by many 3D programs, it looks like:
v 0.000000 2.000000 0.000000
v 0.000000 0.000000 0.000000
v 2.000000 0.000000 0.000000
v 2.000000 2.000000 0.000000
% Vertices Coordinates 4
f 1 2 3 4
% Faces 1
The function read_wobj allow Wavefront object files including material MTL files to be read into a Matlab structure.
The function write_wobj exports a Matlab structure to an OBJ file.
It doesn't matter if the object file contains splines or polygon based geometry, it reads and writes almost all .obj files.
See "help read_wobj" and "help write_wobj"
Comments and bug reports are welcome
Citation pour cette source
Dirk-Jan Kroon (2025). Wavefront OBJ toolbox (https://www.mathworks.com/matlabcentral/fileexchange/27982-wavefront-obj-toolbox), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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.
Version | Publié le | Notes de version | |
---|---|---|---|
1.4.0.0 | Bug fixes,
|
||
1.3.0.0 | Fixed Nan Bug (Detected by Owens M.A.) |
||
1.1.0.0 | Add file-format help and made the code compatible with all most all possible .obj files. |
||
1.0.0.0 |