<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>thanks a lot, it turns out I was getting some curves on my surface due to the color scalar </div><div><br></div><div><br></div><div><br><div><div id="ecxSkyDrivePlaceholder"></div>> Date: Wed, 6 Mar 2013 13:46:11 -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>> Oops wrong screenshot, image attached.<br>> <br>> On Wed, Mar 6, 2013 at 1:44 PM, Utkarsh Ayachit<br>> <utkarsh.ayachit@kitware.com> wrote:<br>> > Look at the attached script. I don't see any lighting other than<br>> > ambient or am I missing something?<br>> ><br>> > On Wed, Mar 6, 2013 at 1:05 AM, the lily <the.1.lily@hotmail.com> wrote:<br>> >> Dear Utkarsh<br>> >><br>> >> I did that and I got a surface with some lighting but there is a shading<br>> >> effects which is something that you do not<br>> >><br>> >> get from Ambient lighting you only get it from normals, so is Paraview<br>> >> applying other lighting ?<br>> >><br>> >> or are these steps gonna give me Ambient lighting only<br>> >><br>> >>> 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>> >>><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<br>> >>> > 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<br>> >>> > 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>