Menu

#349 ASCII PLY Exporter Face color bug

v1.0_(example)
open
nobody
1
2013-03-19
2013-03-19
Tuirenen
No

I am using MeshLab 1.3.2 on XP and just tested it with 1.3.0a, which also does not work.

The PLY Exporter fails to export correctly the colors in the face element of the ply file when encoded in ascii. The binary ply exported file does work with colors in the face element.

The header seems correct (same as the binary one), but instead of the uchar red, green, blue and alpha annonced, for each face there seems to be a list of 9 float, which seems to be red, green and blue repeated thrice, but defined between 0 and 1.

I think it's pretty easy to fix, probably just someone who changed the way face colors were encoded in PLY files for binary but didn't do it for ascii.

To repeat this bug, simply create a new mesh layer in mathlab, color some faces and export in PLY format with binary encoding unchecked. Meshlab can't even reopen the file sometimes due to an inexpected end of file, and if it does reopen it, it's all messed up.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB