<br><div class="gmail_quote">On Tue, Oct 20, 2009 at 1:03 PM, Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I assigned it to Sean. It is up to the developer/manager to assign a<br>
particular bug.<br>
<font color="#888888"><br>
-berk<br>
</font><div><div></div><div class="h5"></div></div></blockquote><div><br>While I was looking at this patch, I also found some PLY files I had that still could not be read. The problem is that the header is as follows:<br>
<br>ply<br>format ascii 1.0<br>element vertex 182323<br>property float x<br>property float y<br>property float z<br>property float nx<br>property float ny<br>property float nz<br>property uchar diffuse_red<br>property uchar diffuse_green<br>
property uchar diffuse_blue<br><br>If I change diffuse_red, diffuse_green, diffuse_blue to simply red, green, blue, everything works again. There doesn't seem to be a hard fast "rule" about what to name the colors... should we check for any vertex property that resembles a color array name and read it into RGBPoints? Or should we create a DiffuseRGBPoints?<br>
<br>Should we read the normals (nx,ny,nz)?<br><br>I think any time that data is skipped/ignored we should throw a warning. If I was the user and I loaded the data and my normals were missing without any errors/warnings, I'd be very confused. If I got a warning something like "vtkPLYReader does not support vertex property diffuse_red", etc I would at least know that there is a known lack of support for something I am trying to read.<br>
<br>Things are are/aren't supported should also be VERY clearly explained in the documentation.<br><br>Thoughts/comments?<br><br clear="all">Thanks,<br><br>David<br></div></div>