[vtkusers] Render without light - newbie question

Randy Heiland heiland at ncsa.uiuc.edu
Mon Jul 10 11:24:19 EDT 2000


On Jul 10,  4:11pm, Bernhard Hombitzer wrote:
> Subject: [vtkusers] Render without light - newbie question
> Hi there,
>
> is there any possibility, to render without taking any lights into the
> scene. I need to see the mesh without any shadows or specular light.
>
> thanks in advance
>    Berni

Something like this should do what you want I think:

actor->GetProperty()->SetDiffuse(0.0)
actor->GetProperty()->SetAmbient(1.0)

--Randy




More information about the vtkusers mailing list