<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Bruno,</p>
<p>This has probably to do with how the vtkClipPolyData handles the
texture coordinates of the dataset you are clipping.<br>
</p>
<p>As an alternative, you can try clipping your dataset with
vtkBooleanOperationPolyDataFilter (more info
<a class="moz-txt-link-freetext" href="http://www.vtkjournal.org/browse/publication/797">http://www.vtkjournal.org/browse/publication/797</a>) (I guess you
will need to use a triangulated box and not a plane for clipping
in this case)<br>
</p>
<p>Perhaps you might have better luck !</p>
<p>Best,</p>
<p>Andrea<br>
</p>
<p><br>
</p>
On 07-Jun-16 12:18 PM, Bruno Grégoire wrote:<br>
<blockquote cite="mid:20160607101853.1AC2CF31D3@public.kitware.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello everyone! <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m using
vtkClipPolyData to cut a poly data into two parts.
Everything works like a charm but the textures. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">As you can see on the
picture attached, there are some problems/artifacts
appearing on the model after the clipping. After some
research, I still have no idea where it comes from.
Furthermore, these problems also occur when I’m trying to
copy/paste the texture coordinates from a model to another.
<br>
<br>
If you have any idea, please tell me.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you in advance for
your help!<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif">Bruno G</span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Search the list archives at: <a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
++++++++++++++++++++++++++++++++++++
Andrea Borsic Ph.D.
CEO & Founder NE Scientific LLC
Tel: +1 603 676 7450
Web: <a class="moz-txt-link-abbreviated" href="http://www.ne-scientific.com">www.ne-scientific.com</a>
Twitter: <a class="moz-txt-link-freetext" href="https://twitter.com/ne_scientific">https://twitter.com/ne_scientific</a></pre>
</body>
</html>