When opening a PLY with vertex (or other elements) of type "double" or "float64," the importer fails with an error. "float" or "float32" work fine.
Thanks for the bug submission, could you provide a ply file that meshlab fails to load? Just to be sure to patch it in the correct way...
cheers P.
It also doesn't load coordinates of type 'char','uchar','short','ushort','int', or 'uint'.
It also requires vertex type to be int (it won't load 'char','uchar','short','ushort', or 'float').
I am using Matlab functions plyread and plywrite (by Pascal Getreuer 2004) which tend to exercise all these other types.
Example problem file: ply format ascii 1.0 comment created by MATLAB plywrite element vertex 8 property char x property char y property char z element face 6 property list uchar char vertex_indices end_header 0 0 0 0 0 1 0 1 1 0 1 0 1 0 0 1 0 1 1 1 1 1 1 0 4 0 1 2 3 4 7 6 5 4 4 0 4 5 1 4 1 5 6 2 4 2 6 7 3 4 3 7 4 0
Log in to post a comment.
Thanks for the bug submission,
could you provide a ply file that meshlab fails to load?
Just to be sure to patch it in the correct way...
cheers
P.
It also doesn't load coordinates of type 'char','uchar','short','ushort','int', or 'uint'.
It also requires vertex type to be int (it won't load 'char','uchar','short','ushort', or 'float').
I am using Matlab functions plyread and plywrite (by Pascal Getreuer 2004) which tend to exercise all these other types.
Example problem file:
ply
format ascii 1.0
comment created by MATLAB plywrite
element vertex 8
property char x
property char y
property char z
element face 6
property list uchar char vertex_indices
end_header
0 0 0
0 0 1
0 1 1
0 1 0
1 0 0
1 0 1
1 1 1
1 1 0
4 0 1 2 3
4 7 6 5 4
4 0 4 5 1
4 1 5 6 2
4 2 6 7 3
4 3 7 4 0