Lighting

Lisa S. Avila lisa.avila at kitware.com
Fri Sep 17 22:49:56 EDT 1999


Ron,

You can use the Ambient value to achieve this - set the color of the
object, set Ambient to 1.0, Diffuse to 0.0, and Specular to 0.0. This will
draw your object in the color you selected.

Lisa

At 12:26 AM 9/18/99 +0200, Ron Inbar wrote:
>Is there a way to turn lighting completely off for one actor but not for the
>others?  That is, to paint the actor uniformly according to its DiffuseColor
>property?  This can be useful for wireframe models.
>
>TIA,
>
>Ron
>
>
>
>-----------------------------------------------------------------------------
>This is the private VTK discussion list.  Please keep messages on-topic.
>Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
>To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
><majordomo at gsao.med.ge.com>.  For help, send message body containing
>"info vtkusers" to the same address.     Live long and prosper.
>-----------------------------------------------------------------------------
> 



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list