<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
All,<br>
<br>
I noticed that vtkPLYWriter writes a "obj_info" field, an example
can be seen below. This is causing some applications, such as the
THREE.PLYLoader method to fail when reading PLY files produced by
vtkPLYWriter. <br>
<br>
None of the documents describing the PLY format
(<a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/PLY_%28file_format%29">https://en.wikipedia.org/wiki/PLY_%28file_format%29</a> or
<a class="moz-txt-link-freetext" href="http://paulbourke.net/dataformats/ply/">http://paulbourke.net/dataformats/ply/</a>) mentions this field,
although it is present in the bunny file from
<a class="moz-txt-link-freetext" href="http://graphics.stanford.edu/data/3Dscanrep/">http://graphics.stanford.edu/data/3Dscanrep/</a>.<br>
<br>
Hence, it would seem that for maximum portability the obj_info line
should be removed. Is there any way one can prevent vtkPLYWriter
from writing this line? <br>
<br>
Thanks in advance.<br>
<br>
--Alex<br>
<br>
Typical header from a PLY file written by VTK:<br>
<br>
ply<br>
format ascii 1.0<br>
comment VTK generated PLY File<br>
<b><font color="#ff0000">obj_info vtkPolyData points and polygons:
vtk4.0</font></b><br>
element vertex 198<br>
property float x<br>
property float y<br>
property float z<br>
element face 192<br>
property list uchar int vertex_indices<br>
end_header<br>
....<br>
<br>
...
</body>
</html>