[Paraview] Disable Diffuse and Specular light

the lily the.1.lily at hotmail.com
Mon Feb 25 02:27:24 EST 2013



Dear utkarsh

are these the coefficients ?

because I tried assigning the diffuse, ambient and specular to 0 I'm supposed to get black but instead 

nothing changes 

so how is paraview exactly applying the light since I found 

rep.Diffuse = 0
rep.DiffuseColor

and

rend =  = GetRenderView()

rend.LightDiffuseColor 

so how is these three different variables for each type of light have been mapped to the lighting equation ?


Date: Thu, 21 Feb 2013 15:26:16 -0800
Subject: Re: [Paraview] Disable Diffuse and Specular light
From: utkarsh.ayachit at kitware.com
To: the.1.lily at hotmail.com
CC: paraview at paraview.org; paraview-developers at paraview.org

Through Python shell, you can. You can set the Diffuse and Specular properties on a representation to 0. The following sets the same for the active representation:
> rep = GetDisplayProperties()
> rep.Diffuse = 0> rep.Specular = 0> Render()

On Wed, Feb 20, 2013 at 12:50 AM, the lily <the.1.lily at hotmail.com> wrote:





Hi all

I would like to disable the Diffuse and Specular light, is there a way to do that in Paraview ?

 		 	   		  

_______________________________________________

Powered by www.kitware.com



Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html



Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView



Follow this link to subscribe/unsubscribe:

http://www.paraview.org/mailman/listinfo/paraview



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20130225/b59800a6/attachment.htm>


More information about the ParaView mailing list