<div dir="ltr">How abouth SetAmbient(1);<br><br>Jothy<br><br><div class="gmail_quote">On Fri, Mar 2, 2012 at 2:28 PM, Hong Yi <span dir="ltr">&lt;<a href="mailto:hongyi@renci.org">hongyi@renci.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I already set ScalarVisibilityOff() on the corresponding mappers, and not use scalar for color mapping at all, since the entire polydata will be colored in
 the same color as set to the corresponding actor. The problem is some of the uniform colors being displayed are not exactly the color being set to the actor, for example, the orange color (displayed on the legend) gets mapped to yellow for the actor in the
 view. Some color like green gets mapped correctly, but not some other colors. I have set lighting on, but did not expect the color could be off so much in many cases. Any insight/comment/suggestion is very much appreciated.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hong
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Jothybasu Selvaraj [mailto:<a href="mailto:jothybasu@gmail.com" target="_blank">jothybasu@gmail.com</a>]
<br>
<b>Sent:</b> Friday, March 02, 2012 4:16 AM<br>
<b>To:</b> Hong Yi<br>
<b>Cc:</b> VTK Users<br>
<b>Subject:</b> Re: [vtkusers] vtkLODActor-&gt;GetProperty()-&gt;SetColor() does not maintain the input color?<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Could you try with mapper-&gt;ScalarVisibilityOff()<br>
<br>
Jothy<u></u><u></u></p>
<div>
<p class="MsoNormal">On Thu, Mar 1, 2012 at 9:36 PM, Hong Yi &lt;<a href="mailto:hongyi@renci.org" target="_blank">hongyi@renci.org</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">I am using distinct colors to represent each different molecular structure for multiple structure visual comparison. Each structure is represented by a different actor, and a predefined
 color is passed into the actor property to set its color. I found some colors get altered significantly. For example, the orange color becomes yellow. I want to show a legend to show correspondence between colors and structures, but some colors look so different
 between the legend and the displayed color for the corresponding structure actor. Is this expected behavior or I did not set up something correctly? Any suggestions and comments are very much appreciated.<u></u><u></u></p>

<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="color:#888888">Hong
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#888888"> <u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<p class="MsoNormal">Jothy<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>

</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Jothy<br></div><br>
</div>