[prev in list] [next in list] [prev in thread] [next in thread] 

List:       paraview
Subject:    Re: [Paraview] Disable Diffuse and Specular light
From:       the lily <the.1.lily () hotmail ! com>
Date:       2013-02-25 7:27:24
Message-ID: DUB123-W3AA799FDEDFCA992DA05B97F30 () phx ! gbl
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Dear utkarsh

are these the coefficients ?

because I tried assigning the diffuse, ambient and specular to 0 I'm supposed to get \
black but instead 

nothing changes 

so how is paraview exactly applying the light since I found 

rep.Diffuse = 0
rep.DiffuseColor

and

rend =  = GetRenderView()

rend.LightDiffuseColor 

so how is these three different variables for each type of light have been mapped to \
the lighting equation ?


Date: Thu, 21 Feb 2013 15:26:16 -0800
Subject: Re: [Paraview] Disable Diffuse and Specular light
From: utkarsh.ayachit@kitware.com
To: the.1.lily@hotmail.com
CC: paraview@paraview.org; paraview-developers@paraview.org

Through Python shell, you can. You can set the Diffuse and Specular properties on a \
representation to 0. The following sets the same for the active representation:
> rep = GetDisplayProperties()
> rep.Diffuse = 0> rep.Specular = 0> Render()

On Wed, Feb 20, 2013 at 12:50 AM, the lily <the.1.lily@hotmail.com> wrote:





Hi all

I would like to disable the Diffuse and Specular light, is there a way to do that in \
Paraview ?

 		 	   		  

_______________________________________________

Powered by www.kitware.com



Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html



Please keep messages on-topic and check the ParaView Wiki at: \
http://paraview.org/Wiki/ParaView



Follow this link to subscribe/unsubscribe:

http://www.paraview.org/mailman/listinfo/paraview



 		 	   		  


[Attachment #5 (text/html)]

<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'>
<br>Dear utkarsh<br><br>are these the coefficients ?<br><br>because I tried assigning \
the diffuse, ambient and specular to 0 I'm supposed to get black but instead \
<br><br>nothing changes <br><br>so how is paraview exactly applying the light since I \
found <br><br>rep.Diffuse = 0<br>rep.DiffuseColor<br><br>and<br><br>rend =&nbsp; = \
GetRenderView()<br><br>rend.LightDiffuseColor <br><br>so how is these three different \
variables for each type of light have been mapped to the lighting equation \
?<br><br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: \
Thu, 21 Feb 2013 15:26:16 -0800<br>Subject: Re: [Paraview] Disable Diffuse and \
Specular light<br>From: utkarsh.ayachit@kitware.com<br>To: \
the.1.lily@hotmail.com<br>CC: paraview@paraview.org; \
paraview-developers@paraview.org<br><br><div dir="ltr">Through Python shell, you can. \
You can set the Diffuse and Specular properties on a representation to 0. The \
following sets the same for the active representation:<div><  br></div><div>&gt; rep \
= GetDisplayProperties()</div> <div>&gt; rep.Diffuse = 0</div><div>&gt; rep.Specular \
= 0</div><div>&gt; Render()</div></div><div class="ecxgmail_extra"><br><br><div \
class="ecxgmail_quote">On Wed, Feb 20, 2013 at 12:50 AM, the lily <span \
dir="ltr">&lt;<a href="mailto:the.1.lily@hotmail.com">the.1.lily@hotmail.com</a>&gt;</span> \
wrote:<br> <blockquote class="ecxgmail_quote" style="border-left:1px #ccc \
solid;padding-left:1ex">


<div><div dir="ltr">
Hi all<br><br>I would like to disable the Diffuse and Specular light, is there a way \
to do that in Paraview ?<br><br> 		 	   		  </div></div> \
<br>_______________________________________________<br> Powered by <a \
href="http://www.kitware.com" target="_blank">www.kitware.com</a><br> <br>
Visit other Kitware open-source projects at <a \
href="http://www.kitware.com/opensource/opensource.html" \
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br> <br>
Please keep messages on-topic and check the ParaView Wiki at: <a \
href="http://paraview.org/Wiki/ParaView" \
target="_blank">http://paraview.org/Wiki/ParaView</a><br> <br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" \
target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br> \
<br></blockquote></div><br></div></div> 		 	   		  </div></body> </html>



_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic