<br><font size=2 face="sans-serif">I'm on WinXP with vtk 4.2 from a recent CVS build. I'm not seeing this problem. I have a small tcl script that compares side by side the RayCast Mapper and VolumePro mapper on the poship volume dataset and the opacity it behaving properly for both mappers. What does your volume look like after setting all opacity points to 0.0?? ...john</font>
<br>
<br>
<br>
<table>
<tr valign=top>
<td><font size=6 color=red face="Times New Roman"><b>Internet Mail Message</b></font>
<br><font size=2 color=red face="sans-serif">Received from host: &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=2 face="sans-serif"><b>public.kitware.com [24.97.130.19]</b></font>
<td></table>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>&quot;Nico Vermaas&quot; &lt;vermaas@astron.nl&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: vtkusers-admin@www.vtk.org</font>
<p><font size=1 face="sans-serif">06/19/2003 02:28 AM</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;&lt;vtkusers@public.kitware.com&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;&lt;dsjen@cs.unc.edu&gt;, (bcc: John Anast-JM/PGI)</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;[vtkusers] Re: vtkusers digest, Vol 1 #1884 - 11 msgs</font></table>
<br>
<br>
<br><font size=2 face="Courier New">Hi Dennis,<br>
<br>
I have exactly the same problem with 4.x on Linux (Suse 7.3), if you find a solution let me know. Will do the same.<br>
<br>
Nico<br>
----------------------------------------------------------------<br>
Message: 4<br>
From: &lt;dsjen@cs.unc.edu&gt;<br>
To: vtkusers@public.kitware.com <br>
Date: Fri, 13 Jun 2003 13:20:01 -0400<br>
Subject: [vtkusers] Volume Opacity<br>
<br>
Hello VTK Users,<br>
<br>
I'm having trouble changing the opacity of a vtkVolume. &nbsp;I'm creating <br>
a vtkPiecewiseFunction and adding the following points to the function <br>
with the following lines of code, where opacity is a the piecewise <br>
function:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; opacity.AddPoint(0, 0.0);<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; opacity.AddPoint(255,0.0);<br>
<br>
This should make the volume completely transparent after I set the <br>
opacity of the volume:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; property.SetScalarOpacity(opacity);<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; actor.SetProperty(property);<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ...<br>
<br>
If anyone has any suggestions, needs clarification, or can point me to <br>
any references, I'd be very grateful. &nbsp;Also, just for reference, I'm <br>
using vtk4.0 on WindowsXP.<br>
<br>
Thanks,<br>
Dennis<br>
<br>
<br>
<br>
====================================================<br>
Nico Vermaas<br>
ASTRON - Westerbork Synthesis Radio Telescope<br>
Schattenberg 1 - 9433 TA Zwiggelte - The Netherlands<br>
<br>
tel: +31 593 598710 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
vermaas@astron.nl <br>
====================================================<br>
<br>
<br>
_______________________________________________<br>
This is the private VTK discussion list. <br>
Please keep messages on-topic. Check the FAQ at: &lt;http://public.kitware.com/cgi-bin/vtkfaq&gt;<br>
Follow this link to subscribe/unsubscribe:<br>
http://www.vtk.org/mailman/listinfo/vtkusers<br>
</font>
<br>
<br>