<html><head></head><body><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="ydp77e60f43br0">(</span><span class="ydp77e60f43br0">)</span><span class="ydp77e60f43sy4">; 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="ydp77e60f43sy4"><br></span></div><div><span class="ydp77e60f43sy4"><img alt="Inline image" title="Inline image" class="ydpd8a9132ainline-image" style="max-width: 800px; width: 100%;" src="cid:9fdd744b-eff9-5279-7ace-32030d302ed6@yahoo.com" data-id="<9d537a56-4648-78b3-e11f-64e039dca3c1@yahoo.com>"><br></span></div><div><br></div><div><br></div></div><div><br></div><div><br></div><div id="yahoo_quoted_0661689143" class="yahoo_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 <cory.quammen@kitware.com> wrote:</div><div><br></div><div><br></div><div><div dir='ltr'><html><body>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/Examples/Cxx/Visualization/FlatShading</a><br clear="none"><div class="yqt4422395062" id="yqtfd55966"><br clear="none">On Mon, Jul 17, 2017 at 9:49 AM, Majid Mohammad sadeghi via vtkusers<br clear="none"><<a shape="rect" ymailto="mailto:vtkusers@vtk.org" href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>> wrote:<br clear="none">> Hi everyone,<br clear="none">><br clear="none">> I am using vtkBooleanOperationPolyDataFilter, 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">> _______________________________________________<br clear="none">> Powered by www.kitware.com<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/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_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=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/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="yqt4422395062" id="yqtfd44047"><br clear="none"></div></body></html></div></div></div></div></div></body></html>