<div dir="ltr">There shouldn't be any geometry smoothing going on in this filter. Can you verify that the geometry has changed in the smoothed version?<div><br></div><div>This is speculation, but one possibility is that the surface normals in your original surface come from a gradient computation in the volume from which the surface was extracted and noise in the volume result in the bumpy appearance. You can check this by applying the vtkPolyDataNormals filter to your original surface and looking at the result.</div><div><br></div><div>HTH,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 17, 2017 at 10:21 AM, Majid Mohammad sadeghi <span dir="ltr"><<a href="mailto:majid.msadeghi@yahoo.com" target="_blank">majid.msadeghi@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:medium"><div><div>Dear Cory,</div><div><br></div><div>Thanks for the reply, I set the actors property to  SetInterpolationToFlat<span class="m_-1901337663695966445ydp77e60f43br0">(</span><span class="m_-1901337663695966445ydp77e60f43br0">)</span><span class="m_-1901337663695966445ydp77e60f43sy4">; as you said, but the result is the same I put a picture before and after boolean operation here. Any suggestion? Are you familier with any other library? Current boolean operation takes about 150 seconds on my system, do you think this is normal?<br></span></div><div><span class="m_-1901337663695966445ydp77e60f43sy4"><br></span></div><div><span class="m_-1901337663695966445ydp77e60f43sy4"><img alt="Inline image" title="Inline image" class="m_-1901337663695966445ydpd8a9132ainline-image" style="max-width:800px;width:100%" src="cid:9fdd744b-eff9-5279-7ace-32030d302ed6@yahoo.com"><br></span></div><div><br></div><div><br></div></div><div><div class="h5"><div><br></div><div><br></div><div id="m_-1901337663695966445yahoo_quoted_0661689143" class="m_-1901337663695966445yahoo_quoted"><div style="font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:13px;color:#26282a"><div>On Monday, July 17, 2017, 6:00:50 PM GMT+3, Cory Quammen <<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>> wrote:</div><div><br></div><div><br></div><div><div dir="ltr"><div>What do you mean by smooth? The lighting is smooth? I think the filter<br clear="none">may be adding surface normals, in which case any actor for the data<br clear="none">will turn on Gouraud shading (or maybe Phong) by default, which will<br clear="none">make your surface look smooth. You can turn off smooth lighting as<br clear="none">shown in this example:<br clear="none"><br clear="none"><a shape="rect" href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/FlatShading" target="_blank">http://www.vtk.org/Wiki/VTK/<wbr>Examples/Cxx/Visualization/<wbr>FlatShading</a><br clear="none"><div class="m_-1901337663695966445yqt4422395062" id="m_-1901337663695966445yqtfd55966"><br clear="none">On Mon, Jul 17, 2017 at 9:49 AM, Majid Mohammad sadeghi via vtkusers<br clear="none"><<a shape="rect" href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>> wrote:<br clear="none">> Hi everyone,<br clear="none">><br clear="none">> I am using vtkBooleanOperationPolyDataFil<wbr>ter, and it works fine except after<br clear="none">> the operation it smoothes the polydata, which I dont want. Is there a way to<br clear="none">> stop that? Or is there another library for boolean operations on polydata?<br clear="none">><br clear="none">> Thanks.<br clear="none">><br clear="none">><br clear="none">> ______________________________<wbr>_________________<br clear="none">> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br clear="none">><br clear="none">> Visit other Kitware open-source projects at<br clear="none">> <a shape="rect" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br clear="none">><br clear="none">> Please keep messages on-topic and check the VTK FAQ at:<br clear="none">> <a shape="rect" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br clear="none">><br clear="none">> Search the list archives at: <a shape="rect" href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br clear="none">><br clear="none">> Follow this link to subscribe/unsubscribe:<br clear="none">> <a shape="rect" href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a></div><br clear="none">><br clear="none"><br clear="none"><br clear="none"><br clear="none">-- <br clear="none">Cory Quammen<br clear="none">Staff R&D Engineer<br clear="none">Kitware, Inc.<div class="m_-1901337663695966445yqt4422395062" id="m_-1901337663695966445yqtfd44047"><br clear="none"></div></div></div></div></div></div></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</div>
</div>