<HTML>
<HEAD>
<TITLE>Re: [Paraview] tube filter, surfaces aren't closed?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I&#8217;m guessing that this is a z-buffer precision issue. &nbsp;The nVidia card must be using a higher precision z-buffer or doing something else that is preventing the z-fighting that appears to be happening in the Mesa implementation.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 1/18/10 11:47 AM, &quot;burlen&quot; &lt;<a href="burlen.loring@gmail.com">burlen.loring@gmail.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Yes, that is the case. There are 200 lines , each a single cell , and<BR>
the pvtp reader splits them up fairly evenly amongst processes to begin<BR>
with. D3 is moving stuff around but it doesn't noticeably change the result.<BR>
<BR>
Moreland, Kenneth wrote:<BR>
&gt; Looking at the mesa-artifacts-decomp.png image, it appears that you<BR>
&gt; have many tubes that are coincident (or at least close to coincident).<BR>
&gt; &nbsp;There might be z-buffer resolution problems. &nbsp;What happens if you run<BR>
&gt; the geometry through D3?<BR>
&gt;<BR>
&gt; -Ken<BR>
&gt;<BR>
&gt;<BR>
&gt; On 1/15/10 10:28 AM, &quot;burlen&quot; &lt;<a href="burlen.loring@gmail.com">burlen.loring@gmail.com</a>&gt; wrote:<BR>
&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;FYI, I re-organized the images illustrating the bug, and made a<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;comparison of nvidia to mesa rendering on two cases 1) the<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;artifacts 2)<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;the parallel inconsistency, and removed the older images.<BR>
&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;1)<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/mesa-artifacts.png">http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/mesa-artifacts.png</a><BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/nvidia-no-artifacts-decomp.png">http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/nvidia-no-artifacts-decomp.png</a><BR>
&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;2)<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/mesa-artifacts-decomp.png">http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/mesa-artifacts-decomp.png</a><BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/nvidia-no-artifacts.png">http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/nvidia-no-artifacts.png</a><BR>
&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;burlen wrote:<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; So you are right these are artifacts not holes. Nasty looking ones at<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; that. zooming in enough makes the artifacts receded toward the egdes<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; of the tube. After some experimentation I'm finding that this has<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; something to do with mesa. It is reproducible only when using mesa.<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; Hardware rendering works fine, no artifacts.<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; There also looks to be two things going on, 1) the artifacts, 2)<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; inconsistent selection of the visible faces on parallel runs.<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; shown here:<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; <a href="http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/decomp-8-procs.png">http://nashi-submaster.ucsd.edu/movies/PV/tube-filter-artifact/decomp-8-procs.png</a><BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; I was using PV on this cluster fine back in dec to make very similar<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; figures with stream tubes and didn't see any of these issues...<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; I added the dataset to reproduce to the bug report.<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt; Moreland, Kenneth wrote:<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; It could be a rendering artifact. &nbsp;What happens when you zoom into<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; the problem area?<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; -Ken<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; On 1/14/10 12:24 AM, &quot;burlen&quot; &lt;<a href="burlen.loring@gmail.com">burlen.loring@gmail.com</a>&gt; wrote:<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;Any ideas as to why tubes from the tube filter aren't closed<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; surfaces<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;now? screenshot:<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://public.kitware.com/Bug/view.php?id=10139">http://public.kitware.com/Bug/view.php?id=10139</a><BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;_______________________________________________<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;Powered by www.kitware.com<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;Visit other Kitware open-source projects at<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;Please keep messages on-topic and check the ParaView Wiki at:<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;Follow this link to subscribe/unsubscribe:<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; *********** &nbsp;*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; ** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&lt;<a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt; &lt;<a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; &nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
&gt; *********** <BR>
&gt; *** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
&gt; ** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
&gt; &lt;<a href="http://www.cs.unm.edu/%7Ekmorel">http://www.cs.unm.edu/%7Ekmorel</a>&gt;<BR>
&gt;<BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>