<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thanks a lot, Ken! This works much better. However ;) now I got
very fat-looking fonts and lines (attached).</p>
<p>Anything suggestions what I can do with that?</p>
<p>Thanks!</p>
<p>Marcin<br>
</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 11/08/2017 02:29 PM, Ken Martin
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANXz0Sar40xb7jwHZ3OtfT9TBZLNX=6RAQD0-NZ3oG4dSetQxw@mail.gmail.com">
<div dir="ltr">Try using depth peeling to resolve the
transparency.
<div><br>
</div>
<div>
<div><br>
</div>
<div> //@{</div>
<div> /**</div>
<div> * Turn on/off rendering of translucent material with
depth peeling</div>
<div> * technique. The render window must have alpha bits
(ie call</div>
<div> * SetAlphaBitPlanes(1)) and no multisample buffer (ie
call</div>
<div> * SetMultiSamples(0) ) to support depth peeling.</div>
<div> * If UseDepthPeeling is on and the GPU supports it,
depth peeling is used</div>
<div> * for rendering translucent materials.</div>
<div> * If UseDepthPeeling is off, alpha blending is used.</div>
<div> * Initial value is off.</div>
<div> */</div>
<div> vtkSetMacro(UseDepthPeeling,int);</div>
<div> vtkGetMacro(UseDepthPeeling,int);</div>
<div> vtkBooleanMacro(UseDepthPeeling,int);</div>
<div> //@}</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Nov 8, 2017 at 6:09 AM,
marcin.krotkiewski <span dir="ltr"><<a
href="mailto:marcin.krotkiewski@gmail.com" target="_blank"
moz-do-not-send="true">marcin.krotkiewski@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Dear
developers,<br>
<br>
I am observing strange rendering artifacts on my
triangulated surface when I use transparency. The artifacts
are observed at certain angles only. I've attached 3
pictures:<br>
<br>
- opacity_1.png shows the model as it looks without
transparency<br>
- opacity_09.png shows the model at an angle chosen such
that the artifact on the surface is visible.<br>
- opacity_0.9_behind.png shows the same model with
transparency rotated around to a view that does not show the
artifact<br>
<br>
I am using vtk 8.0 with the OpenGL 2 rendering backend.<br>
<br>
Is this a bug, or am I doing sth wrong?<br>
<br>
Thanks!<span class="HOEnZb"><font color="#888888"><br>
<br>
Marcin<br>
<br>
</font></span><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com"
rel="noreferrer" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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">
<div dir="ltr">
<div>Ken Martin PhD
<div>Distinguished Engineer<br>
<span style="font-size:12.8px">Kitware Inc.</span><br>
</div>
<div>28 Corporate Drive<br>
Clifton Park NY 12065<br>
<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>
</div>
</div>
</blockquote>
<br>
</body>
</html>