[vtkusers] Re: How to have only ambient lighting?

Sean McBride sean at rogue-research.com
Thu Jun 23 10:45:58 EDT 2005


On 2005-06-23 09:06, Goodwin Lawlor said:

>Did you try:
>
>actor->GetProperty()->SetAmbient(1);
>actor->GetProperty()->SetDiffuse(0);
>
>for each of the plane actors?

Cheers Goodwin!  It works great.  I had forgotten that actors have an
associated property. :(  Take care!


-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list