<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Den tis 23 okt. 2018 kl 19:32 skrev Elvis Stansvik <<a href="mailto:elvis.stansvik@orexplore.com">elvis.stansvik@orexplore.com</a>>:<br></div><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></blockquote><div><br></div><div>Sorry for the misinformation! Depth peeling indeed should make it possible.</div><div><br></div><div>Elvis</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><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>>:<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_-3091632665580813219m_-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_-3091632665580813219m_-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>

_______________________________________________<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/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_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=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/mailman/listinfo/vtkusers</a><br>
</blockquote></div>
</blockquote></div></div>