[vtkusers] VTK wrong normal detection

Francois Lasson francois.lasson at institutmaupertuis.fr
Mon Apr 13 10:21:02 EDT 2015


Hello,

I'm working on a project in which I need to make a normal detection on a 
vtkPolyData.

I'm using a vtkPLYReader to fill the vtkPolyData, when the mesh is 
centered on (0,0,0) the normal detection works ( Image : Without 
translation <http://i.imgur.com/UgEaOIt.png>).
However, as soon as I translate the mesh (1 meter on X, 1 meter on Y), 
the normal detection fails. (Image : With translation 
<http://i.imgur.com/t8S0OqJ.png>)

Please find PLY files and the code enclosed to this mail.

Thank you,
François Lasson.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150413/36973f9e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vtk_wrong_normal_estimation.zip
Type: application/zip
Size: 82514 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150413/36973f9e/attachment.zip>


More information about the vtkusers mailing list