PWN2PLY is a GUI application dedicated to the conversion of PWN files to PLY format. The application applies an algorithm to build a mesh, recordable in PLY format (polygons, more precisely triangles), from the set of normals and points of application of a PWN file (Points With Normals). The algorithm in question extracts an isosurface from an indicator function defining the belonging to the volume to mesh. The method main idea is to calculate the indicator function from the normals in spatial frequencies domain through tridimensional FFT algorithm on the basis of the equation defining the normals field as the indicator function gradient (tridimensional vector field, gradient of a scalar field, sign depending on normals direction). Thus, the spatial indicator function calculated from the integration of the normals tridimensional Fourier transforms is injected in an isosurface extraction method to define the surface of the object. The corresponding MATLAB patch can be saved in PLY ASCII format.
Several PWN files are available in PWN subfolder:
- Incomplete_squirrel.pwn
- Low_sampling_sphere.pwn
- Stanford_bunny.pwn
- Stanford_dragon.pwn
- Torus.pwn
Video demonstrations:
https://www.youtube.com/watch?v=0BMwGlbprFI&ab_channel=Pseudonymeoriginal
https://www.youtube.com/watch?v=13yKbaReeqw&ab_channel=Pseudonymeoriginal
https://www.youtube.com/watch?v=V_9g5Wg8idM&ab_channel=Pseudonymeoriginal
https://www.youtube.com/watch?v=PZw4juw4JEA&ab_channel=Pseudonymeoriginal
https://www.youtube.com/watch?v=epLqS1R2-jA&ab_channel=Pseudonymeoriginal
https://www.youtube.com/watch?v=ZamHE0OK1O0&ab_channel=Pseudonymeoriginal
https://www.youtube.com/watch?v=-lCIRCSRXk0&ab_channel=Pseudonymeoriginal
User manual:
http://fr.slideshare.net/EricOgier/pwn2ply-user-manual
Cite As
Eric Ogier (2024). PWN2PLY (https://www.mathworks.com/matlabcentral/fileexchange/56709-pwn2ply), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Other Formats >
- MATLAB > Mathematics > Computational Geometry > Triangulation Representation >
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Volume Visualization > Scalar Volume Data >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
PWN2PLY/
Version | Published | Release Notes | |
---|---|---|---|
1.0 | Adding of a link to user manual. Adding of new video links.
|
|