Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read a ply file correctly #46

Open
wlsdzyzl opened this issue Sep 28, 2020 · 1 comment
Open

Cannot read a ply file correctly #46

wlsdzyzl opened this issue Sep 28, 2020 · 1 comment

Comments

@wlsdzyzl
Copy link

wlsdzyzl commented Sep 28, 2020

Hey, ddiakopoulos, the library is really cool. However, during my use of it, something wrong happend. I use tinyply to generate the file I needed, which contains other 4 properties for vertex. The writing part works well. When i tried to read it, it just crashed, or read some nosense content. I think the file itself has no errors, because meshlab can parse it properly. Here is the file: download_link .
It's written through ascii, when i use binary format to write it, tinyply works well. However i want to figure out what happened. I will be very thankful if you will take some time to check this out!

@ddiakopoulos
Copy link
Owner

I will take a look at this for tinyply version 2.4. As we discussed over email, the specific issue is that tinyply will write NaN values fine, but fails to read them correctly. NaNs work as expected (reading/writing) in binary mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants