[vtkusers] face vs vertex normals
alethea at anatomage.com
Fri Dec 6 20:29:04 EST 2013
Thank you for the help! Splitting the geometry is not an option, so I guess I'll look into a custom normal filter.
From: Aashish Chaudhary <aashish.chaudhary at kitware.com>
To: Alethea Bair-Sutherland <alethea at anatomage.com>
Cc: "vtkusers at vtk.org" <vtkusers at vtk.org>
Sent: Friday, December 6, 2013 12:10 PM
Subject: Re: [vtkusers] face vs vertex normals
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.
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.
>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:
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers