<div><br>Hi kiran,</div>
<div>&nbsp;</div>
<div>Did you try using vtkLookUpTable, it lets you define a color for each scalar value.</div>
<div>&nbsp;</div>
<div>Is that what you wanted.</div>
<div>&nbsp;</div>
<div>Let me know.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>&nbsp;</div>
<div>Deepak<br>&nbsp;</div>
<div><span class="gmail_quote">On 2/8/06, <b class="gmail_sendername"><a href="mailto:kshivann@engineering.uiowa.edu">kshivann@engineering.uiowa.edu</a></b> &lt;<a href="mailto:kshivann@engineering.uiowa.edu">kshivann@engineering.uiowa.edu
</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">hi all,<br>&nbsp;&nbsp;&nbsp;&nbsp;i would like to color each cell/point in a polydata according to my set of<br>requirements. right now vtkscalarstocolors function calculates the colors of
<br>the cell/point automatically given the saturation range and scalar range. is<br>there a way to input rgb values for the cell/point individually.<br><br>thanks<br><br>kiran<br><br>_______________________________________________
<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>