<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'>
Dear Utkarsh<div><br></div><div>I did that and I got a surface with some lighting but there is a shading effects which is something that you do not</div><div><br></div><div>get from Ambient lighting you only get it from normals, so is Paraview applying other lighting ? </div><div><br></div><div>or are these steps gonna give me Ambient lighting only<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Tue, 5 Mar 2013 10:01:22 -0500<br>> Subject: Re: [Paraview-developers] Lighting in Paraview<br>> From: utkarsh.ayachit@kitware.com<br>> To: the.1.lily@hotmail.com<br>> CC: paraview-developers@paraview.org<br>> <br>> ParaView uses multiple lights by default. To disable all lights, use<br>> the following:<br>> <br>> RenderView1 = GetRenderView()<br>> <br>> # Turn off "Head Light"<br>> RenderView1.LightSwitch = 0<br>> <br>> # Turn off "Light Kit"<br>> RenderView1.UseLight = 0<br>> <br>> Don't forget to set the ambient factor on your representations of<br>> you'll see nothing.<br>> r = GetDisplayProperties()<br>> r.Ambient = 1.0<br>> <br>> <br>> <br>> On Tue, Mar 5, 2013 at 5:38 AM, the lily <the.1.lily@hotmail.com> wrote:<br>> ><br>> ><br>> > Dear all<br>> ><br>> > I'm trying to understand how is paraview applying the lighting, is it using<br>> > more than one lighting resource<br>> ><br>> > I found head lighting, back lighting ...<br>> ><br>> > and how can I disable all different lights (using python scripting) and work<br>> > only with a regular ambient light ?<br>> ><br>> > _______________________________________________<br>> > Paraview-developers mailing list<br>> > Paraview-developers@paraview.org<br>> > http://public.kitware.com/mailman/listinfo/paraview-developers<br>> ><br></div></div>                                            </div></body>
</html>