[Paraview-developers] Lighting in Paraview

the lily the.1.lily at hotmail.com
Wed Mar 6 15:38:35 EST 2013



Dear utkarsh
thanks a lot, it turns out I was getting some curves on my surface due to the color scalar 


> Date: Wed, 6 Mar 2013 13:46:11 -0500
> Subject: Re: [Paraview-developers] Lighting in Paraview
> From: utkarsh.ayachit at kitware.com
> To: the.1.lily at hotmail.com
> CC: paraview-developers at paraview.org
> 
> Oops wrong screenshot, image attached.
> 
> On Wed, Mar 6, 2013 at 1:44 PM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
> > Look at the attached script. I don't see any lighting other than
> > ambient or am I missing something?
> >
> > On Wed, Mar 6, 2013 at 1:05 AM, the lily <the.1.lily at hotmail.com> wrote:
> >> Dear Utkarsh
> >>
> >> I did that and I got a surface with some lighting but there is a shading
> >> effects which is something that you do not
> >>
> >> get from Ambient lighting you only get it from normals, so is Paraview
> >> applying other lighting ?
> >>
> >> or are these steps gonna give me Ambient lighting only
> >>
> >>> Date: Tue, 5 Mar 2013 10:01:22 -0500
> >>> Subject: Re: [Paraview-developers] Lighting in Paraview
> >>> From: utkarsh.ayachit at kitware.com
> >>> To: the.1.lily at hotmail.com
> >>> CC: paraview-developers at paraview.org
> >>
> >>>
> >>> ParaView uses multiple lights by default. To disable all lights, use
> >>> the following:
> >>>
> >>> RenderView1 = GetRenderView()
> >>>
> >>> # Turn off "Head Light"
> >>> RenderView1.LightSwitch = 0
> >>>
> >>> # Turn off "Light Kit"
> >>> RenderView1.UseLight = 0
> >>>
> >>> Don't forget to set the ambient factor on your representations of
> >>> you'll see nothing.
> >>> r = GetDisplayProperties()
> >>> r.Ambient = 1.0
> >>>
> >>>
> >>>
> >>> On Tue, Mar 5, 2013 at 5:38 AM, the lily <the.1.lily at hotmail.com> wrote:
> >>> >
> >>> >
> >>> > Dear all
> >>> >
> >>> > I'm trying to understand how is paraview applying the lighting, is it
> >>> > using
> >>> > more than one lighting resource
> >>> >
> >>> > I found head lighting, back lighting ...
> >>> >
> >>> > and how can I disable all different lights (using python scripting) and
> >>> > work
> >>> > only with a regular ambient light ?
> >>> >
> >>> > _______________________________________________
> >>> > Paraview-developers mailing list
> >>> > Paraview-developers at paraview.org
> >>> > http://public.kitware.com/mailman/listinfo/paraview-developers
> >>> >
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130306/72b04ae9/attachment.htm>


More information about the Paraview-developers mailing list