<HTML>
<HEAD>
<TITLE>Re: [Paraview] Transparency based on scalar</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>If I understand your question, this is not directly supported. &nbsp;Although in volume rendering you can set opacity based on the scalar value, in surface rendering you cannot. &nbsp;There is an entry in ParaView UserVoice for this feature. &nbsp;If you feel ParaView should support this feature, you should go to this UserVoice link and vote for it. &nbsp;It will help ParaView developers determine which features to next implement.<BR>
<BR>
<a href="http://paraview.uservoice.com/forums/11350-general/suggestions/1354583-transparency-opacity-in-surface-color-map?ref=title">http://paraview.uservoice.com/forums/11350-general/suggestions/1354583-transparency-opacity-in-surface-color-map?ref=title</a><BR>
<BR>
It may be possible to have a filter to create a field of colors with alpha value and then render dependent colors. &nbsp;I know of no existing filters that already do that, though.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 2/11/11 6:48 PM, &quot;Tim Gallagher&quot; &lt;<a href="tim.gallagher@gatech.edu">tim.gallagher@gatech.edu</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi,<BR>
<BR>
I would like to set the transparency of something based on a scalar. For example, if I took a Slice of a dataset, I would like to make it transparent based on, say, density gradient such that zero-gradient is transparent and some value indicates opaque.<BR>
<BR>
I haven't seen any existing filters to indicate this is possible. Is there a filter that does it? Is it something that's even possible to do through, say, a programmable filter?<BR>
<BR>
We're just getting into scripting with Paraview and it takes us a long time to figure out how to even do simple things, so before I spin my wheels on this one, I'd like to get some expert opinions on if it's even feasible.<BR>
<BR>
Thanks,<BR>
<BR>
Tim<BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><BR>
<BR>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <FONT COLOR="#0000FF"><U><a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
</U></FONT>** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<FONT COLOR="#0000FF"><U><a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</U></FONT></SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>