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: [email protected]
To: [email protected]
CC: [email protected]; [email protected]

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 <[email protected]> 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



                                          
_______________________________________________
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

Reply via email to