Page 1 of 1

Reading PLY file

Posted: Tue Jun 04, 2019 2:38 am
by Kaela.john
Hello, I am trying to use a ply file in my matlab code. I have used Cloud Compare to turn a point cloud into a mesh, which is stored as a ply file. There is an issue with reading the ply file, I think that the file contains a comment or character in an unexpected place. I was hoping to troubleshoot this by reading the ply file, however I can't seem to open it on matlab- when I try, I am told that my editor does not have enough storage to open the file. Is there any way to read the ply file as a text file, or another way to troubleshoot this?

Re: Reading PLY file

Posted: Thu Jun 06, 2019 7:13 pm
by daniel
Well, I won't expect any issue on the PLY exporter (we use a 3rd party library for a long time know and it has been extensively tested and happily used for years... but who knows).

When you generate the PLY file with CC, you have the choice between binary and ASCII. Just select the ASCII mode and you'll get a text file.