<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Thanks for your suggestion, I tried it but the black box is still there<br><br><br>&gt; Date: Fri, 20 May 2011 12:49:53 -0700<br>&gt; From: chasank@gmail.com<br>&gt; To: vtkusers@vtk.org<br>&gt; Subject: Re: [vtkusers] Problem with volume rendering using ITK,        VTK and DICOM files<br>&gt; <br>&gt; Try to add this your pipeline; I'm not sure, but it may help<br>&gt; <br>&gt;         vtkPiecewiseFunction *volumeGradientOpacity =<br>&gt; vtkPiecewiseFunction::New();<br>&gt;         volumeGradientOpacity-&gt;AddPoint(0,   0.0);<br>&gt;         volumeGradientOpacity-&gt;AddPoint(90, 0.25);<br>&gt;         volumeGradientOpacity-&gt;AddPoint(100, 0.50);<br>&gt; <br>&gt;         volumeProperty-&gt;SetGradientOpacity(volumeGradientOpacity);<br>&gt; <br>&gt; <br>&gt; <br>&gt; --<br>&gt; View this message in context: http://vtk.1045678.n5.nabble.com/Problem-with-volume-rendering-using-ITK-VTK-and-DICOM-files-tp4413032p4413418.html<br>&gt; Sent from the VTK - Users mailing list archive at Nabble.com.<br>&gt; _______________________________________________<br>&gt; Powered by www.kitware.com<br>&gt; <br>&gt; Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>&gt; <br>&gt; Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>&gt; <br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; http://www.vtk.org/mailman/listinfo/vtkusers<br>                                               </body>
</html>