<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">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 lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-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 width="317" height="36" style="width:3.3in;height:.3708in" id="m_-8059527568191465892Picture_x0020_1" src="cid:image001.jpg@01D4624E.DEC4FD50" alt="https://spp/pic/corporate/Lists/Signatures%20Database/Attachments/164/CS12924_AutomotiveEmailSignature_2.jpg"><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>