[vtkusers] Newbie, about Opacity

Raul Gerardo Huertas Paiva rax20037 at gmail.com
Sat Apr 19 12:10:46 EDT 2008


Thank you people. I wast just being a little stupid. This was the code that
I was using:

 //From Cone4.cc
  vtkActor *coneActor2 = vtkActor::New();
  coneActor2->SetMapper(coneMapper);
  coneActor2->GetProperty()->SetColor(0.2, 0.63, 0.79);
  coneActor2->GetProperty()->SetOpacity( 0.1f);
  coneActor2->SetProperty(property);
  coneActor2->SetPosition(0, 10, 0);

After setting the opacity I was using setting the old property :S.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080419/cc25d0fe/attachment.htm>


More information about the vtkusers mailing list