[Paraview-developers] Lighting in Paraview

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Mar 5 10:01:22 EST 2013


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
>


More information about the Paraview-developers mailing list