<div dir="ltr">Rather than trying to figure it out, I'd recommend trying out the new render code in VTK. It has a brand spanking new depth peeling implementation. See<div><br></div><div><a href="http://www.kitware.com/source/home/post/144">http://www.kitware.com/source/home/post/144</a><br>

</div><div><br></div><div>-berk</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 26, 2014 at 5:59 PM, Windes, Grant <span dir="ltr"><<a href="mailto:Grant.Windes@smith-nephew.com" target="_blank">Grant.Windes@smith-nephew.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Looking to implement a proper depth sort for semi-transparent objects. My research has shown that the vtkDepthSortPolyData is not sufficient as it is CPU bound.
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’ve enabled depth peeling and it’s worked great using Core i7 4770K (4600HD Integrated Graphics). However, it was slower than we liked and thus I tested an Nvidia Quadro 3000M and Quadro 2000. Both don’t properly enable depth peeling as
 confirmed with a GetRenderLastUsedDepthPeeling() call.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Note: Using pyVTK (vtk 5.10.1) on Windows 7 64bit with latest gpu Quadro drivers (9.18.13.4062)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In my small test application I can get DepthPeeling to render properly on the Quadro 2000 by setting
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">renderWindow.SetAlphaBitPlanes(1)<u></u><u></u></p>
<p class="MsoNormal">renderWindow.SetMultiSamples(0)<u></u><u></u></p>
<p class="MsoNormal">renderer.SetUseDepthPeeling(1)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">However, If I remove SetAlphaBitPlanes() and SetMultiSamples() depth peeling doesn’t work properly and is not enabled.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any indication as to why depth peeling works fine on the Core i7 integrated graphics compared to a true GPU?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal">Grant<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>