<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:10pt"><div>Look in the VTK API for a class called vtkProperty. vtkProperty::SetOpacity is what you want. Most actors have a get property method. So you can do:<br><br>actor->GetProperty()->SetOpacity (0.5);<br><br>That will give you exactly what you need<br><br>- John E<br></div><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Arsham Mesbah <arsham@uga.edu><br><b><span style="font-weight: bold;">To:</span></b> vtkusers@vtk.org<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, September 24, 2009 2:44:54 PM<br><b><span style="font-weight:
bold;">Subject:</span></b> [vtkusers] Transparency in VTK<br></font><br>
Is there any way in VTK that we can change or set the transparency factor?! Let say we have an object that is is visualized (a surface) and we want to change the transparency factor to 50% or change it so it will become see through (Not wire frame or anything! ) just see through! <br clear="all">
<br>-- <br>Sincerely Yours,<br>Arsham Mesbah<br>University of Georgia<br>Department of Computer Science<br>415 Graduate Studies Research Center<br>Athens, GA 30602<br>Web: <a rel="nofollow" target="_blank" href="http://cs.uga.edu/%7Ears">cs.uga.edu/~ars</a><br>
</div></div></div><br>
</body></html>