[vtkusers] Re: Is there anyone can give me a solution about Light effect in vtk?

Goodwin Lawlor goodwin.lawlor at ucd.ie
Fri May 5 07:11:53 EDT 2006


liujia wrote:
> Hi all,
>     I have ask these twice.
>     I wrote a script in Tcl about 3D-chart display.
>     But I don't know how to make the 3D models neglecting lights effect.
>     Is there any method to let a white plane do not show gray when it 
> been rotated.

Try:

[actor GetProperty] SetDiffuse 0
[actor GetProperty] SetAmbient 1

hth

Goodwin






More information about the vtkusers mailing list