<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Glad you figured it out and thanks for sharing your finding!<br>
</p>
<p>Miro</p>
<p><br>
</p>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Matt Sutton <matt.sutton@padtinc.com><br>
<b>Sent:</b> Thursday, March 31, 2016 4:32 PM<br>
<b>To:</b> Matt Sutton; Miroslav Drahos; vtkusers@vtk.org<br>
<b>Subject:</b> RE: QVTKWidget and Depth Peeling Revisited</font>
<div> </div>
</div>
<div>
<div style="">
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Folks,</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">   Sorry for the noise.  It looks like you actually have to have an actor that *<b>is</b>* transparent included in the renderer for depth peeling to be used, even if you’ve requested
 it to be activated.  Looks like I was bumping up against an somewhat obvious optimization.  Once I included an actor that was not fully opaque the rendering code reported that depth peeling was activated.</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Regards,</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  Matt Sutton</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  Senior Engineer</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  PADT, Inc.</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  <a id="LPlnk118179" style="color: blue; text-decoration: underline;" href="http://www.padtinc.com/">www.PADTINC.com</a></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  480.813.4884 x106</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  <a style="color: blue; text-decoration: underline;" href="mailto:matt.sutton@padtinc.com">matt.sutton@padtinc.com</a></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  Simulation – Product Development – Rapid Prototyping</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<i><span style="font-size:8.0pt; font-family:"Calibri",sans-serif; color:#1F497D">CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information.  Unless
 you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender
 by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments. </span></i></p>
</div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<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"> vtkusers [mailto:vtkusers-bounces@vtk.org]
<b>On Behalf Of </b>Matt Sutton<br>
<b>Sent:</b> Thursday, March 31, 2016 4:04 PM<br>
<b>To:</b> Miroslav Drahos <mdrahos@aurisrobotics.com>; vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] QVTKWidget and Depth Peeling Revisited</span></p>
</div>
</div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
 </p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Miro,</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">  Yes, I have seen that example.  It is what I’ve used as a reference implementation.  The only thing different, that I can tell, with my implementation and this is that I am using
 the QVTKWidget inside a Qt application.   I found this post:</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"><a style="color: blue; text-decoration: underline;" href="http://www.vtk.org/pipermail/vtk-developers/2013-July/029487.html">http://www.vtk.org/pipermail/vtk-developers/2013-July/029487.html</a></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Which is virtually identical to my situation, but I don’t see a resolution anywhere.  Thanks for the suggestion, though!</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Matt</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  Matt Sutton</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  Senior Engineer</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  PADT, Inc.</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  <a style="color: blue; text-decoration: underline;" href="http://www.padtinc.com/">www.PADTINC.com</a></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  480.813.4884 x106</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  <a style="color: blue; text-decoration: underline;" href="mailto:matt.sutton@padtinc.com">matt.sutton@padtinc.com</a></span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  Simulation – Product Development – Rapid Prototyping</span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<i><span style="font-size:8.0pt; font-family:"Calibri",sans-serif; color:#1F497D">CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or privileged information.  Unless
 you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended recipient, please notify the sender
 by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments. </span></i></p>
</div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<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"> Miroslav Drahos [<a style="color: blue; text-decoration: underline;" href="mailto:mdrahos@aurisrobotics.com">mailto:mdrahos@aurisrobotics.com</a>]
<br>
<b>Sent:</b> Thursday, March 31, 2016 3:04 PM<br>
<b>To:</b> Matt Sutton <<a style="color: blue; text-decoration: underline;" href="mailto:matt.sutton@padtinc.com">matt.sutton@padtinc.com</a>>;
<a style="color: blue; text-decoration: underline;" href="mailto:vtkusers@vtk.org">
vtkusers@vtk.org</a><br>
<b>Subject:</b> Re: QVTKWidget and Depth Peeling Revisited</span></p>
</div>
</div>
<p style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
 </p>
<div id="divtagdefaultwrapper">
<p style="background:white"><span style="font-family:"Calibri",sans-serif; color:black">Matt,</span></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif; color:black">have you seen this example?</span></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif; color:black"><a style="color: blue; text-decoration: underline;" href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CorrectlyRenderTranslucentGeometry" id="LPlnk483173">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CorrectlyRenderTranslucentGeometry</a></span></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif; color:black">HTH,</span></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif; color:black">Miro</span></p>
<p style="background:white"><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<p style="background: white none repeat scroll 0% 0%; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<div>
<div style="text-align: center; background: white none repeat scroll 0% 0%; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;" align="center">
<span style="font-family:"Calibri",sans-serif; color:black">
<hr align="center" size="2" width="98%">
</span></div>
<div id="divRplyFwdMsg">
<p style="background: white none repeat scroll 0% 0%; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> vtkusers <<a style="color: blue; text-decoration: underline;" href="mailto:vtkusers-bounces@vtk.org">vtkusers-bounces@vtk.org</a>>
 on behalf of Matt Sutton <<a style="color: blue; text-decoration: underline;" href="mailto:matt.sutton@padtinc.com">matt.sutton@padtinc.com</a>><br>
<b>Sent:</b> Thursday, March 31, 2016 1:14 PM<br>
<b>To:</b> <a style="color: blue; text-decoration: underline;" href="mailto:vtkusers@vtk.org">
vtkusers@vtk.org</a><br>
<b>Subject:</b> [vtkusers] QVTKWidget and Depth Peeling Revisited</span><span style="font-family:"Calibri",sans-serif; color:black">
</span></p>
<div>
<p style="background: white none repeat scroll 0% 0%; margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
</div>
</div>
<div>
<div>
<p style="background:white"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">Hello,</span></p>
<p style="background:white"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">   I’m trying to use depth peeling within a QVTKWidget based application.  Currently, my renderer always returns 0 for GetLastRenderingUsedDepthPeeling(). 
 I’m using VTK 6.3 with a NVIDIA K6000 GPU and the latest NVIDIA driver.  I’ve configured VTK to use the OpenGL2 rendering backend during the CMAKE configure step.  I’ve searched online and found a few messages from 2013 regarding a similar issue, but I can’t
 seem to find the solution?  Any help or insight would be appreciated.</span></p>
<p style="background:white"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">Regards,</span></p>
<p style="background:white"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">Matt</span></p>
<p style="background:white"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> </span></p>
<p style="background:white"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"></span></p>
<p style="background:white"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  Matt Sutton</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"></span></p>
<p style="background:white"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  Senior Engineer</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"></span></p>
<p style="background:white"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  PADT, Inc.</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"></span></p>
<p style="background:white"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  <a style="color: blue; text-decoration: underline;" href="http://www.padtinc.com/" id="LPlnk62974">www.PADTINC.com</a></span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"></span></p>
<p style="background:white"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  480.813.4884 x106</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"></span></p>
<p style="background:white"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  <a style="color: blue; text-decoration: underline;" href="mailto:matt.sutton@padtinc.com">matt.sutton@padtinc.com</a></span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"></span></p>
<p style="background:white"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D"> </span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"></span></p>
<p style="background:white"><span style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#1F497D">  Simulation – Product Development – Rapid Prototyping</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"></span></p>
<p style="background:white"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"></span></p>
<p style="background:white"><i><span style="font-size:8.0pt; font-family:"Calibri",sans-serif; color:#1F497D">CONFIDENTIALITY NOTICE: This e-mail message and any attachments are for the sole use of the intended recipient(s) and may contain confidential and/or
 privileged information.  Unless you are the intended recipient, you are hereby notified that copying, forwarding, printing or otherwise disseminating the information contained in or attached to this e-mail is strictly prohibited. If you are not the intended
 recipient, please notify the sender by telephone, and immediately and permanently delete and destroy all copies and printouts of this e-mail message and/or attachments. </span></i><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"></span></p>
<p style="background:white"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> </span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>