[vtkusers] Actor Transparency

Olivier Feys olivier.feys at gmail.com
Thu Oct 5 03:35:57 EDT 2006


The easiest way for me is to create a scalar field on your grid, set the 
elements to be seen to a certain value (ex:1), and apply a colormap with 
alpha =0 for values other than 0.

Olivier


Richard Haney wrote:
> Does anyone know of a quick way to render just part of a vtkActor 
> transparent?  I have a triangular geometry rendered from a 
> vtkXMLUnstructuredGridReader and I would like only certain sections of 
> the total actor to be solid and the rest transparent.
>
> Is there a quick and easy way to do this with vtk4.2 ?
>
> Thanks in advance for any help/hints.
>
>
> _______________________________________________
> This is the private VTK discussion list. Please keep messages 
> on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>




More information about the vtkusers mailing list