<div dir="ltr"><div dir="ltr"><div>Maybe from vtkRenderer.h</div><div><br></div><div>/**<br> * This flag is on and the GPU supports it, depth-peel volumes along with<br> * the translucent geometry. Only supported on OpenGL2 with dual-depth<br> * peeling. Default is false.<br> */<br> vtkSetMacro(UseDepthPeelingForVolumes, bool)<br> vtkGetMacro(UseDepthPeelingForVolumes, bool)<br> vtkBooleanMacro(UseDepthPeelingForVolumes, bool)</div><div><br></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 23, 2018 at 1:32 PM, Elvis Stansvik <span dir="ltr"><<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I believe this is a limitation of VTK. Translucent polygonal geometry with opacity != 1.0 can't be rendered intersected with a volume other than in a back-to-front or front-to-back manner.</div><div><br></div><div>Someone correct me if I'm wrong (we'd also very much like to be able to do this).</div><div><br></div><div>Elvis<br></div></div><br><div class="gmail_quote"><div dir="ltr">Den fre 12 okt. 2018 kl 22:20 skrev Pato Sandana <<a href="mailto:patricio.sandana@synopsys.com" target="_blank">patricio.sandana@synopsys.com</a><wbr>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div class="m_7990310825816706205m_-8059527568191465892WordSection1">
<p class="MsoNormal">Hi Everyone,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m trying to draw a vtkVolume and a vtkPlaneWidget both intersecting and the vtkPlaneWidget is translucent. I cannot achieve that, either the plane is totally behind or front.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">For a vtkActor with the same box extent this works.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I tried to get the z-buffer from the context using vtkRenderer::GetZbufferData() method, but I only get 1s. (Is this correct?)<u></u><u></u></p>
<p class="MsoNormal">I also tried to write the z-buffer data I got with vtkRenderer::SetZbuferData() method, but the plane is still behind.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any hints how to achieve this? Thanks in advance.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards,<u></u><u></u></p>
<p class="MsoNormal"><b><u></u> <u></u></b></p>
<p class="MsoNormal"><b>Pato Sandaña<u></u><u></u></b></p>
<p class="MsoNormal">TCAD Senior R&D Engineer<u></u><u></u></p>
<p class="MsoNormal">Synopsys Inc. – Santiago, Chile<u></u><u></u></p>
<p class="MsoNormal"><img style="width:3.3in;height:.3708in" id="m_7990310825816706205m_-8059527568191465892Picture_x0020_1" alt="https://spp/pic/corporate/Lists/Signatures%20Database/Attachments/164/CS12924_AutomotiveEmailSignature_2.jpg" width="317" height="36"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
______________________________<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="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div>
<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="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>101 East Weaver Street<br>Carrboro, North Carolina<br>
27510 USA<br><br><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></div></div></div>
</div>