[vtkusers] VTKboolean smoothes the results! Any other libraries for boolean operation on polydata?

Majid Mohammad sadeghi majid.msadeghi at yahoo.com
Mon Jul 17 11:21:13 EDT 2017


Dear Cory,
Thanks for the reply, I set the actors property to  SetInterpolationToFlat(); 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?






On Monday, July 17, 2017, 6:00:50 PM GMT+3, Cory Quammen <cory.quammen at kitware.com> wrote:

What do you mean by smooth? The lighting is smooth? I think the filter
may be adding surface normals, in which case any actor for the data
will turn on Gouraud shading (or maybe Phong) by default, which will
make your surface look smooth. You can turn off smooth lighting as
shown in this example:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/FlatShading

On Mon, Jul 17, 2017 at 9:49 AM, Majid Mohammad sadeghi via vtkusers
<vtkusers at vtk.org> wrote:
> Hi everyone,
>
> I am using vtkBooleanOperationPolyDataFilter, and it works fine except after
> the operation it smoothes the polydata, which I dont want. Is there a way to
> stop that? Or is there another library for boolean operations on polydata?
>
> Thanks.
>
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170717/443803ec/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled-8.jpg
Type: image/jpeg
Size: 261587 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170717/443803ec/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled-8.jpg
Type: image/jpeg
Size: 261587 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170717/443803ec/attachment-0003.jpg>


More information about the vtkusers mailing list