PLY file format and related errors
Posted: Mon Mar 26, 2018 5:33 pm
Is it correct that PLY files should have LF terminated lines?
And if lines terminate with LF+CR, is it so that luxcore cannot read them?
I found out by chance that I could not render some scenes, including some of those in the luxcore repo.
For example, with python I got this when loading the cornell box scene:
Again by chance, I found that I had some files with LF+CR line termination and some with Unix-style. Setting them all to LF termination solved the problem.
I would imagine that under Windows one might want to load a LF+CR style file, but preferred to ask before opening a bug report.
And if lines terminate with LF+CR, is it so that luxcore cannot read them?
I found out by chance that I could not render some scenes, including some of those in the luxcore repo.
For example, with python I got this when loading the cornell box scene:
Code: Select all
RPly: Not a PLY file. Expected magic number 'ply\n'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: Unable to read PLY mesh file 'scenes/cornell/Khaki.ply'I would imagine that under Windows one might want to load a LF+CR style file, but preferred to ask before opening a bug report.