Hi,<br>by reading the header of your file and the code in VTK/IO/vtkPLY.cxx, the problem is:<br> - the header declare the faces list as: "property list uint8 uint32 vertex_indices"<br> - vtkPLY does not handle uint32 type, but only uint. <br>
<br>Changing the line to "property list uint8 uint vertex_indices" makes the file loadable in ParaView-3.11.1 and is still loadable in Blender-2.5.<br><br>I didn't investigate the responsibilities : maybe MITK wrote a file with an unexpected uint32 regarding the specification or VTK lacks a check of this type in its PLY parser. <br>
<br>HTH<br>Jerome<br><br><div class="gmail_quote">2011/5/22 hbfyf <span dir="ltr"><<a href="mailto:hbfyf@qq.com">hbfyf@qq.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>I have tried vtkPLYReader and succeed in reading some PLY file.But vtkPLYReader can't read all PLY file.Here is a PLY file and can you explain why it can't be read.</div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br>