[vtkusers] disabling lights

Kevin Wright Kevin.Wright at ansys.com
Mon Dec 15 10:27:12 EST 2003


You can set the lighting to ambient on the actor:
 
actor->GetProperty()->SetAmbient(1.0) 
actor->GetProperty()->SetDiffuse(0.0) 
actor->GetProperty()->SetSpecular(0.0)
 

I'm new to vtk...and i'm trying to develop the first pipelines.
 
Is it possible to disable the default lights in a RenderWindow. I'd like have only a ambient light...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20031215/17392b85/attachment.htm>


More information about the vtkusers mailing list