DAVID Laserscanner Wavefront *.obj file reader, plotter, volume and surface area calculator

This is a set of a MATLAB script that I have written to help me analyze the wavefront object file
426 Downloads
Aktualisiert 9. Mär 2018

Lizenz anzeigen

A set of MATLAB scripts dedicated to read Textureless Wavefront Object (*.obj) 3d files created by DAVID Laserscanner's Shapefusion software. The output of the reader (readwObj) is a structure called "obj", in which we can found the vertices (x,y,z) coordinates, vertices' normal vector, and face descriptors. Also included a viewer (dispObj) that makes use of "patch" function in MATLAB, modified from a submission by Bernard Abayowa back in 2008. For volume and surface area calculation, you can use the "objvol" function, which uses the algorithms descibed in Graphics Gems II. While the scripts are written in MATLAB R2016a, they may be compatible with MATLAB R2014a.

Zitieren als

Alutsyah Luthfian (2024). DAVID Laserscanner Wavefront *.obj file reader, plotter, volume and surface area calculator (https://www.mathworks.com/matlabcentral/fileexchange/66275-david-laserscanner-wavefront-obj-file-reader-plotter-volume-and-surface-area-calculator), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2016a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Data Import and Analysis finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: readObj, Volume of a surface triangulation, display_obj

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.2.0.0

1. Now can read obtain vertices coordinate, normal vectors, and the corresponding faces from texturized data (without parsing the texture itself).
2. dispObj now uses particle's surface distance from the centroid for the patch coloring scheme.

1.1.0.0

Update in v1.1:
1. NaN padding in unfilled part of face descriptor data, so the results of readwObj can directly be plotted using MATLAB's "patch" function.
2. Now can read *.obj file without vertex normal data.

1.0.0.0