<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><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:12.0pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=SK link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'>it works ok after switching to qvtkwidget2, even the multisampling under linux, which wasn’t working with qvtkwidget<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> Elvis Stansvik [mailto:elvis.stansvik@orexplore.com] <br><b>Sent:</b> Thursday, August 25, 2016 6:24 PM<br><b>To:</b> RobertS <spir.robert@gmail.com><br><b>Cc:</b> VTK Users <vtkusers@vtk.org>; Ken Martin <ken.martin@kitware.com><br><b>Subject:</b> Re: [vtkusers] Z-fighting problem on intel hd graphics<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p>Den 25 aug. 2016 5:35 em skrev "Róbert Špir" <<a href="mailto:spir.robert@gmail.com">spir.robert@gmail.com</a>>:<br>><br>> ok, everything works fine without qvtkwidget, so the problem is somewhere there<o:p></o:p></p><p>I don't remember exactly, but I think I had the same problem. Should be somewhere on this list I think.<o:p></o:p></p><p>I think it's possible to work around by manually setting the stencil buffer size on the QGLFormat used by the widget.<o:p></o:p></p><p>On the bus at the moment so have limited ability to search.<o:p></o:p></p><p>Elvis<o:p></o:p></p><p>><br>> <br>><br>> From: Róbert Špir [mailto:<a href="mailto:spir.robert@gmail.com">spir.robert@gmail.com</a>] <br>> Sent: Thursday, August 25, 2016 2:56 PM<br>> To: 'Ken Martin' <<a href="mailto:ken.martin@kitware.com">ken.martin@kitware.com</a>><br>> Cc: 'vtk' <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>> Subject: RE: [vtkusers] Z-fighting problem on intel hd graphics<br>><br>> <br>><br>> I made a few more tests:<br>><br>> the same problem happens with llvmpipe and with nvidia with nouveau driver<br>><br>> doesn’t happen on nvidia binary driver or in OS X with intel or nvidia or in windows with intel or nvidia<br>><br>> So maybe it’s a bug in mesa? Currently I’m using qt5 with qvtkwidget, I will try to create minimalistic example without qt to see if the problem is reproducible<br>><br>> <br>><br>> From: Ken Martin [mailto:<a href="mailto:ken.martin@kitware.com">ken.martin@kitware.com</a>] <br>> Sent: Tuesday, August 23, 2016 6:45 PM<br>> To: RobertS <<a href="mailto:spir.robert@gmail.com">spir.robert@gmail.com</a>><br>> Cc: vtk <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>><br>> Subject: Re: [vtkusers] Z-fighting problem on intel hd graphics<br>><br>> <br>><br>> This sounds like a driver issue. I suppose you could try setting the following environment variable<br>><br>> <br>><br>> GALLIUM_DRIVER=llvmpipe<br>><br>> <br>><br>> to switch to software rendering and see if the problem goes away. If nvidia and mesa llvmpipe both work on your linux system then I would really suspect the intel linux driver.<br>><br>> <br>><br>> <br>><br>> <br>><br>> On Wed, Aug 17, 2016 at 6:17 AM, RobertS <<a href="mailto:spir.robert@gmail.com">spir.robert@gmail.com</a>> wrote:<br>>><br>>> Hi all,<br>>> I'm doing simple visualization of data on rectangular grid by creating<br>>> vtkpolydata from single vtktrianglestrip and when running the application in<br>>> linux on intel hd graphics there is serious problem with z-fighting where<br>>> the parts that should be far away are overlapping parts that are near the<br>>> camera. This doesn't happen when running on windows (intel or nvidia) or on<br>>> linux with nvidia<br>>> here you can see the problem, the camera angle is still the same<br>>> <a href="http://tesla.math.sk/intel1.jpg">http://tesla.math.sk/intel1.jpg</a> <<a href="http://tesla.math.sk/intel1.jpg">http://tesla.math.sk/intel1.jpg</a>><br>>> <a href="http://tesla.math.sk/nvidia1.jpg">http://tesla.math.sk/nvidia1.jpg</a> <<a href="http://tesla.math.sk/nvidia1.jpg">http://tesla.math.sk/nvidia1.jpg</a>><br>>> another angle<br>>> <a href="http://tesla.math.sk/intel2.jpg">http://tesla.math.sk/intel2.jpg</a> <<a href="http://tesla.math.sk/intel2.jpg">http://tesla.math.sk/intel2.jpg</a>><br>>> <a href="http://tesla.math.sk/nvidia2.jpg">http://tesla.math.sk/nvidia2.jpg</a> <<a href="http://tesla.math.sk/nvidia2.jpg">http://tesla.math.sk/nvidia2.jpg</a>><br>>> this happens on vtk 7.0 and also on vtk 7.1 from git<br>>> tested hardware is intel hd graphics on haswell, and ivy bridge (mesa 11.2<br>>> and 12.0 with opengl 3.3) and on broadwell with mesa 12.0 with opengl 4.4<br>>> Is this a known issue or am I doing something wrong?<br>>><br>>><br>>><br>>> --<br>>> View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Z-fighting-problem-on-intel-hd-graphics-tp5739803.html">http://vtk.1045678.n5.nabble.com/Z-fighting-problem-on-intel-hd-graphics-tp5739803.html</a><br>>> Sent from the VTK - Users mailing list archive at Nabble.com.<br>>> _______________________________________________<br>>> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>>><br>>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>>><br>>> Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>>><br>>> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a><br>>><br>>> Follow this link to subscribe/unsubscribe:<br>>> <a href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>><br>><br>><br>> <br>><br>> --<br>><br>> Ken Martin PhD<br>><br>> Chairman & CFO<br>> Kitware Inc.<br>> 28 Corporate Drive<br>> Clifton Park NY 12065<br>> 518 371 3971<br>><br>> <br>><br>> This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you.<br>><br>><br>> _______________________________________________<br>> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>><br>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>><br>> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>><o:p></o:p></p></div></body></html>