<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Just a quick side question, which of the following syntax is 'correct'?<br>
<br>
rep.Input[0].Proxy<br>
or <br>
rep.Input.GetData().Proxy<br>
<br>
Berk Geveci wrote:
<blockquote
cite="mid:45d654b0808081222k6963f97ehff0f142f58dcb6b7@mail.gmail.com"
type="cite">
<pre wrap="">Not just from the GUI. You can achieve it using GUI+python:
* Turn off all lights from the Render View Options
* Turn on Ambient of the representation from python with something like:
v = servermanager.GetRenderView()
v.Represenations[0].Ambient = 0.5
Of course, I was lazy and picked the first representation of the first
view. You can get a collection of all views with GetRenderViews() and
iterate until you find the one you want. Which I just realized is not
easy because views are not named. I will create a feature request for
that. Once you have a view, you get iterate over its representations
until you find one that has your source/filter as input. Something
like:
pm = servermanager.ProxyManager()
myfilter = pm.GetProxy("sources", "filter name")
for rep in representations:
if rep.Input[0].Proxy == myfilter:
rep.Ambient = 0.5
break
-berk
On Fri, Aug 8, 2008 at 4:02 AM, <a class="moz-txt-link-rfc2396E" href="mailto:Thierry.CARRARD@cea.fr"><Thierry.CARRARD@cea.fr></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
Is it possible to render a 3D surface with a constant colour (without any
lighting at all) ?
Thanks,
Thierry
________________________________
De : <a class="moz-txt-link-abbreviated" href="mailto:paraview-bounces@paraview.org">paraview-bounces@paraview.org</a> [<a class="moz-txt-link-freetext" href="mailto:paraview-bounces@paraview.org">mailto:paraview-bounces@paraview.org</a>] De
la part de MirJafar Ali
Envoyé : jeudi 7 août 2008 23:38
À : <a class="moz-txt-link-abbreviated" href="mailto:paraview@paraview.org">paraview@paraview.org</a>
Objet : [Paraview] ParaView Crashes with PLY files
Hi,
Has anybody experienced that paraview immediately crashes with ASCII
PLY ?
I tried with model bunny.ply from Stanford University.
Any help ?
MirJafar
_______________________________________________
ParaView mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ParaView@paraview.org">ParaView@paraview.org</a>
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<pre wrap=""><!---->_______________________________________________
ParaView mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ParaView@paraview.org">ParaView@paraview.org</a>
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</body>
</html>