[vtkusers] Newbie, about Opacity

Cameron Burnett w_e_b_m_a_s_t_e_r_6_9 at hotmail.com
Fri Apr 18 08:43:53 EDT 2008


That could possibly be a problem if you change the opacity after renWin->Render() . In my MFC program I am just changing the opacity of the actors with a button, using this line....

actor->GetProperty()->SetOpacity(newOpacity);

.... and then I have to update the render window after that, otherwise it won't redraw the changes.


Hope that helps. If not then you might want to show a bit of your code so we can have a look.


Regards,
Cameron.



Date: Thu, 17 Apr 2008 20:29:34 -0500
From: rax20037 at gmail.com
To: vtkusers at vtk.org
Subject: [vtkusers] Newbie, about Opacity

Hello!

I changed the code in Cone4 from the Tutorial, to the Actor 2 I set many opacity levels, but the graphics are still fully visble, non transparent. What else I need to do. In a presentation I read that the transparent actors must be the last added, that's why I sete actor 2, but doesn't work :S

Help please


_________________________________________________________________
Search for local singles online @ Lavalife - Click here
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3Den%5FAU%26a%3D30290&_t=764581033&_r=email_taglines_Search_OCT07&_m=EXT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080418/970e5d64/attachment.htm>


More information about the vtkusers mailing list