<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>Dear utkarsh<br><br>are these the coefficients ?<br><br>because I tried assigning the diffuse, ambient and specular to 0 I'm supposed to get black but instead <br><br>nothing changes <br><br>so how is paraview exactly applying the light since I found <br><br>rep.Diffuse = 0<br>rep.DiffuseColor<br><br>and<br><br>rend = = GetRenderView()<br><br>rend.LightDiffuseColor <br><br>so how is these three different variables for each type of light have been mapped to the lighting equation ?<br><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Thu, 21 Feb 2013 15:26:16 -0800<br>Subject: Re: [Paraview] Disable Diffuse and Specular light<br>From: utkarsh.ayachit@kitware.com<br>To: the.1.lily@hotmail.com<br>CC: paraview@paraview.org; paraview-developers@paraview.org<br><br><div dir="ltr">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:<div><br></div><div>> rep = GetDisplayProperties()</div>
<div>> rep.Diffuse = 0</div><div>> rep.Specular = 0</div><div>> Render()</div></div><div class="ecxgmail_extra"><br><br><div class="ecxgmail_quote">On Wed, Feb 20, 2013 at 12:50 AM, the lily <span dir="ltr"><<a href="mailto:the.1.lily@hotmail.com">the.1.lily@hotmail.com</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
Hi all<br><br>I would like to disable the Diffuse and Specular light, is there a way to do that in Paraview ?<br><br>                                            </div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div></div>                                            </div></body>
</html>