[vtkusers] Transparant polydata
Robb Brown
brownr at ucalgary.ca
Thu Sep 19 11:31:03 EDT 2002
Kind of a hack, but if you create some scalar data for your poly
(ones and zeros will do for your purpose), make the scalar data
visible in your PolyDataMapper then colour ones transparent and zeros
opaque, would this not create a window?
>AFAIK this is not possible. When you pipeline your vtkPolyData
>through a vtkPolyDataMapper and finally a vtkActor, there is just
>one vtkProperties associated with the actor where you can set the
>opacity.
>
>We too have a dataset with windows in it (actually it is a building)
>and we will put walls and windows in different actors. If you find
>an other way please let me know.
>
>chris
>
>Koning, P.J.H. de (LKEB) wrote:
>>Is it possible to change the opacity of a single triangle in vtkPolyData?
>>
>>I want to create somthing like a 'window' in a polydata object and
>>change the opacity of that 'window'.
>
>
>--
>________________________________________________________________________
>Christian Poecher mailto:poecher at icom-consulting.de
>ICOM GmbH Phone: +49 241 9367-1554
>Schloss-Rahe-Str. 15, 52072 Aachen, Germany Fax : +49 241 9367-1589
>________________________________________________________________________
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages
>on-topic. Check the FAQ at:
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
--
______________________________
Robb Brown
Seaman Family MR Research Centre
Calgary, Alberta, Canada
More information about the vtkusers
mailing list