[vtk-developers] Strange problem with vtkPLYReader

Bill Lorensen bill.lorensen at gmail.com
Thu Aug 10 13:06:18 EDT 2017


The PLYReader is fine. The file is not a proper PLY file. The face
indices should be zero-based, but in this file they are one-based. So,
the face
3 1 2 5
is referencing an point 5 which exceeds the points array which has
tuples from 0 - 4 (5 points).

On Thu, Aug 10, 2017 at 6:48 AM, David E DeMarle
<dave.demarle at kitware.com> wrote:
> Please submit a bug report via gitlab to help us keep track of this.
>
> On Aug 5, 2017 2:04 PM, "Prabhu Ramachandran" <prabhu at aero.iitb.ac.in>
> wrote:
>>
>> Hi all,
>>
>> We've been running into a strange issue with the vtkPLYReader ever since
>> VTK 5.6 all the way up to 8.0.0.  I am attaching a simple VTK Python script.
>> If you run it a few times you'll see inconsistent results for the bounds of
>> the data like so:
>>
>> (0.0, 1.0, 0.0, 1.0, 0.0, 1.600000023841858)
>> (0.0, 1.5845632502852868e+29, 0.0, 1.0, 0.0, 1.600000023841858)
>>
>> ...
>>
>>
>> I've also attached a standard dataset for this.  I could find the bug but
>> I figured someone more familiar with the code may be quicker fixing it.
>> Thanks! :)
>>
>>
>> cheers,
>>
>> Prabhu
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtk-developers
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the vtk-developers mailing list