[vtkusers] face vs vertex normals

Aashish Chaudhary aashish.chaudhary at kitware.com
Fri Dec 6 15:10:03 EST 2013


You can write your own algorithm to compute normals based on the cell
property or you can split your geometry into multiple pieces but that may
not be desired.

Thanks



On Thu, Dec 5, 2013 at 4:35 PM, Alethea Bair-Sutherland <
alethea at anatomage.com> wrote:

> Does anyone know if it's possible to have a
> vtkPolyData->vtkPolyDataNormals that uses face normals for some vertices,
> and vertex normals for others?
>
> We have a case where our poly data has some large flat regions, and some
> high-resolution smooth regions. At the juncture of these regions, vertex
> normals look weird because the flat regions end up with the interpolated
> normal from the curved regions. We cannot use vertex splitting because the
> output mesh can't have duplicate vertices. It seems like
> vtkPolyDataNormals will only allow an all or nothing approach to face vs
> vertex normals.
>
> Any suggestions?
> -Alethea
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20131206/64697c62/attachment.htm>


More information about the vtkusers mailing list