[Paraview-developers] Lighting in Paraview
the lily
the.1.lily at hotmail.com
Wed Mar 6 01:05:35 EST 2013
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/3566b947/attachment.htm>
More information about the Paraview-developers
mailing list