[vtkusers] How to disable lighting?

Jeff Lee jeff at cdnorthamerica.com
Wed Sep 25 12:36:39 EDT 2002


You can set ambient to 1.0 and diffuse to 0.0 on the actor.
-Jeff

P Bai wrote:

>Does anyone know how to disable lighting like
>glDisable(GL_LIGHTING) in OpenGL? Sometimes we do need
>to disable lightings and shadings...
>
>I tried switchOff vtkLight and even removing all the
>lights from renderer, but it seems that the light is
>still there.
>
>Ping
>
>__________________________________________________
>Do you Yahoo!?
>New DSL Internet Access from SBC & Yahoo!
>http://sbc.yahoo.com
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
>  
>




More information about the vtkusers mailing list