If I understand your question, this is not directly supported.  Although in 
volume rendering you can set opacity based on the scalar value, in surface 
rendering you cannot.  There is an entry in ParaView UserVoice for this 
feature.  If you feel ParaView should support this feature, you should go to 
this UserVoice link and vote for it.  It will help ParaView developers 
determine which features to next implement.

http://paraview.uservoice.com/forums/11350-general/suggestions/1354583-transparency-opacity-in-surface-color-map?ref=title

It may be possible to have a filter to create a field of colors with alpha 
value and then render dependent colors.  I know of no existing filters that 
already do that, though.

-Ken


On 2/11/11 6:48 PM, "Tim Gallagher" <[email protected]> wrote:

Hi,

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.

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?

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.

Thanks,

Tim
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview




   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: [email protected]
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to