I'm trying to make a ParaView python script to do some volume rendering.

I can load my data, set the representation to volume rendering, and set
the color scale the way I want, but I can't figure out how to set the
opacity.

I found rep.ScalarOpacityFunction, but what do I set it to?

I created a simple ParaView session with a volume rendering. Poking
around there I found that there is a PiecewiseFunction that I think is
created.

How do I make a PiecewiseFunction?

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
ParaView mailing list
[email protected]
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to