11-02-2018, 10:47 AM
ggaliens,dgud,Thank you for clarifying the circumstances.
I compiled the old wpc_ply module which originally existed in Wings3D, but it didn't work well surely.
Next, I thought of using the ply importer of the Manifoldlab version.
(I tried run wings3d_v2.0.0.2018-01-15---10-41.mlab by WINE on my Mac,but failed
So I put install into copy of wpc_ply.beam file in directly from Manifoldab version)
And,I got ply files distributed on the internet and a ply format file from some 3D softwares.
Although two problems occurred, I was able to edit the ply data and explore the cause.
In the header of ply format file,there are known as described as follows.
Originally "vertex_indices" is correct, but the file of "vertex_index" is already circulating in the world.
However both of Goxel and Magicavoxel export ply file that using "vertex_index" keyword
FYI:
http://www.pcl-users.org/PLY-Header-Conf...35755.html
https://github.com/PointCloudLibrary/pcl/pull/579
Also, even if there is no WHITESPACE in each line's end of the vertex lists, reading fails.
correctincorrect (import failed)
So I edited the ply file data manually and it was readable with ply importer.
(Ply mesh imoporting is OK,but I couldn't make sure the reproduction of the vertex color yet.)
If Manifoldlab ply importer can accommodate these differences, there will be more ply files that can be read.
I hope this can be used by default on Wings 3D.
I will continue to the test of importing/exporting ply file.
I compiled the old wpc_ply module which originally existed in Wings3D, but it didn't work well surely.
Next, I thought of using the ply importer of the Manifoldlab version.
(I tried run wings3d_v2.0.0.2018-01-15---10-41.mlab by WINE on my Mac,but failed
So I put install into copy of wpc_ply.beam file in directly from Manifoldab version)
And,I got ply files distributed on the internet and a ply format file from some 3D softwares.
Although two problems occurred, I was able to edit the ply data and explore the cause.
In the header of ply format file,there are known as described as follows.
- property uchar int vertex_index
- property uchar int vertex_indices <-- Manifoldlab ply importer only support this type.
Originally "vertex_indices" is correct, but the file of "vertex_index" is already circulating in the world.
However both of Goxel and Magicavoxel export ply file that using "vertex_index" keyword
FYI:
http://www.pcl-users.org/PLY-Header-Conf...35755.html
https://github.com/PointCloudLibrary/pcl/pull/579
Also, even if there is no WHITESPACE in each line's end of the vertex lists, reading fails.
correct
Code:
-11.0 7.80000 0.00 255 255 255
1 2 3 4
0 4 5 6
:
Code:
-11.0 7.80000 0.00 255 255 255
1 2 3 4
0 4 5 6
:
So I edited the ply file data manually and it was readable with ply importer.
(Ply mesh imoporting is OK,but I couldn't make sure the reproduction of the vertex color yet.)
If Manifoldlab ply importer can accommodate these differences, there will be more ply files that can be read.
I hope this can be used by default on Wings 3D.
I will continue to the test of importing/exporting ply file.