<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Thank you for the help! Splitting the geometry is not an option, so I guess I'll look into a custom normal filter.</span></div><div><br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Aashish Chaudhary &lt;aashish.chaudhary@kitware.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Alethea Bair-Sutherland &lt;alethea@anatomage.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> "vtkusers@vtk.org" &lt;vtkusers@vtk.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, December 6, 2013 12:10 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re:
 [vtkusers] face vs vertex normals<br> </font> </div> <div class="y_msg_container"><br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv135729755"><div dir="ltr">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.&nbsp;<div><br></div><div>Thanks</div><div><br></div>
</div><div class="yiv135729755gmail_extra"><br><br><div class="yiv135729755gmail_quote">On Thu, Dec 5, 2013 at 4:35 PM, Alethea Bair-Sutherland <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:alethea@anatomage.com" target="_blank" href="mailto:alethea@anatomage.com">alethea@anatomage.com</a>&gt;</span> wrote:<br>
<blockquote class="yiv135729755gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"><div>Does anyone know if it's possible to have a vtkPolyData-&gt;vtkPolyDataNormals that uses face normals for some vertices, and vertex normals for others?</div>
<div><br></div><div>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&nbsp;<span style="font-size:10pt;">vtkPolyDataNormals</span><span style="font-size:10pt;">&nbsp;will only allow an all or nothing approach to face vs vertex normals.</span></div>
<div style="font-style: normal; font-size: 10pt; background-color: transparent; font-family: arial, helvetica, sans-serif;"><span style="font-size:10pt;"><br></span></div><div style="font-style: normal; font-size: 13px; background-color: transparent; font-family: arial, helvetica, sans-serif;">
Any suggestions?</div><span class="yiv135729755HOEnZb"><font color="#888888"><div style="font-style: normal; font-size: 13px; background-color: transparent; font-family: arial, helvetica, sans-serif;">-Alethea</div></font></span></div></div><br>
_______________________________________________<br>
Powered by <a rel="nofollow" target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>
<br>
Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
http://www.vtk.org/mailman/listinfo/vtkusers<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&amp;D Engineer&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <br>| Kitware Inc.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>| <a rel="nofollow" target="_blank" href="http://www.kitware.com/">www.kitware.com</a>&nbsp; &nbsp; 
</div>
</div><meta http-equiv="x-dns-prefetch-control" content="on"><br><br></div> </div> </div>  </div></body></html>