<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Did you enable depth peeling, or depth sort geometry first?
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CorrectlyRenderTranslucentGeometry">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CorrectlyRenderTranslucentGeometry</a><br>
If yes, could you check if depth peeling was used? and report which
version of VTK and any details about hardware and driver?<br>
<br>
Thanks<br>
Burlen<br>
<br>
<div class="moz-cite-prefix">On 11/25/2013 08:20 AM, Girault, Alexis
wrote:<br>
</div>
<blockquote
cite="mid:793E0EF657618A4CBAA7E28877543989167736A1@ITS-MSXMBS5M.ad.unc.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">Hi everybody,<br>
<br>
I am currently manipulating surfaces and i want to modify their
opacity.<br>
<br>
I used vtkActor::GetProperty and vtkProperty::SetOpacity.<br>
I already made sure the value given to this last function was a
double between 0.00 and 1.00.<br>
After setting the opacity I just render the vtkRenderWindow
related.<br>
<br>
<b>From 100% to 99%, a weird rendering occurs</b> : a big part
of the points are not displayed anymore, and we can only see the
points behind them.
<i>(reminds me of a ray tracing issue, where the intersection
between the ray and the object returned is not the closest one
of the camera but the second one.)</i><br>
<br>
<b>From 99% to 0%, the opacity modification looks perfectly fine</b>,
with those first points still not displayed.<br>
<br>
Explaining this visualization issue is pretty difficult, so I
attached 4 rendering with different opacity :<br>
30% : <a moz-do-not-send="true" href="http://hpics.li/e62fe11"
target="_blank">http://hpics.li/e62fe11</a><br>
60% : <a moz-do-not-send="true" href="http://hpics.li/2907cb2"
target="_blank">http://hpics.li/2907cb2</a><br>
99% : <a moz-do-not-send="true" href="http://hpics.li/6aaa433"
target="_blank">http://hpics.li/6aaa433</a><br>
100% : <a moz-do-not-send="true" href="http://hpics.li/b94c61a"
target="_blank">http://hpics.li/b94c61a</a><br>
<br>
Thank you,<br>
Alex.<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</body>
</html>