<div dir="ltr"><div class="gmail-note-header" style="box-sizing:border-box;padding-bottom:3px;padding-right:0px;color:rgb(92,92,92);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,oxygen-sans,ubuntu,cantarell,"helvetica neue",sans-serif;font-size:14px"><br></div><div class="gmail-js-task-list-container gmail-note-body gmail-is-task-list-enabled" style="box-sizing:border-box;overflow:auto;color:rgb(92,92,92);font-family:-apple-system,blinkmacsystemfont,"segoe ui",roboto,oxygen-sans,ubuntu,cantarell,"helvetica neue",sans-serif;font-size:14px"><div class="gmail-note-text gmail-md" style="box-sizing:border-box;word-wrap:break-word;overflow:auto"><p dir="auto" style="box-sizing:border-box;margin:0px;color:rgb(92,93,94)">If you want to correctly render transparent objects you need to use DepthPeeling</p><p dir="auto" style="box-sizing:border-box;margin:6px 0px 0px;color:rgb(92,93,94)">For background on why see <a href="https://en.wikipedia.org/wiki/Depth_peeling" rel="nofollow noreferrer" target="_blank" style="box-sizing:border-box;background-color:transparent;color:rgb(55,119,176);text-decoration:none;margin-top:0px">https://en.wikipedia.org/wiki/Depth_peeling</a></p><p dir="auto" style="box-sizing:border-box;margin:6px 0px 0px;color:rgb(92,93,94)">renderer->UseDepthPeelingOn()</p><p dir="auto" style="box-sizing:border-box;margin:6px 0px 0px;color:rgb(92,93,94)"><br></p><p style="box-sizing:border-box;margin:6px 0px 0px;color:rgb(92,93,94)">By default VTK uses alpha blending which is faster but suffers from view dependent artifacts. In the new OpenGL2 backend depth peeling is supported everywhere so it might be worthwhile for us to turn it on by default with some low number of default peels for that backend.</p><p style="box-sizing:border-box;margin:6px 0px 0px;color:rgb(92,93,94)"><br></p><p style="box-sizing:border-box;margin:6px 0px 0px;color:rgb(92,93,94)"><br></p><p dir="auto" style="box-sizing:border-box;margin:6px 0px 0px;color:rgb(92,93,94)"><br></p></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 16, 2017 at 8:53 AM, Mikhail Pukhlikov <span dir="ltr"><<a href="mailto:mikhail.pukhlikov@outlook.com" target="_blank">mikhail.pukhlikov@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello there!<br>
<br>
We're using VTK for medical imaging but there is long standing issue we can't understand so far<br>
When 3D opacity is around 0.8 rotation gives some very strange mirror effect when near part is becoming invisible (very transparent)<br>
There is issue demonstration: <a href="https://drive.google.com/file/d/0B-Ae8luypUS0UTdTNjd6a1hoS2M/view" rel="noreferrer" target="_blank">https://drive.google.com/file/<wbr>d/0B-<wbr>Ae8luypUS0UTdTNjd6a1hoS2M/view</a><br>
<br>
I had opened an issue there: <a href="https://gitlab.kitware.com/vtk/vtk/issues/16950" rel="noreferrer" target="_blank">https://gitlab.kitware.com/<wbr>vtk/vtk/issues/16950</a><br>
<br>
Thank you,<br>
Mikhail<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">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.</span></div></div></div>
</div>