[vtkusers] vtkPolydataNormals

Sara Rolfe smrolfe at u.washington.edu
Fri Nov 19 15:12:12 EST 2010


Thanks!  I will give this a try.

On Nov 19, 2010, at 11:59 AM, David Doria wrote:

> On Fri, Nov 19, 2010 at 2:53 PM, Sara Rolfe  
> <smrolfe at u.washington.edu> wrote:
>> Hello,
>>
>> I'm using vtkPolydataNormals to calculate the normal vectors on the  
>> surface
>> of a closed mesh.  What I wanted to get was the normal vectors,  
>> pointing
>> out, from each point on the surface.  However, what I'm getting is  
>> normal
>> vectors, half of which point in toward the mesh surface, and half  
>> which
>> point out.  Is there a way to correct this?
>>
>> I'm attaching a image showing some of the normals, where the  
>> problem can be
>> seen.
>>
>> Thanks,
>> Sara
>
> I implemented Hoppe's normal orientation algorithm here:
> http://www.midasjournal.org/browse/publication/708
>
> Arnaud Gelas has made some major improvements that can be found here:
> https://github.com/daviddoria/daviddoria-vtk/tree/VTK-PointSetNormalEstimation
>
> Good luck,
>
> David




More information about the vtkusers mailing list