<div>Hi all,</div>
<div> </div>
<div>I&#39;m now trying to construct 3D model having different color corresponding to the location.</div>
<div>Below URL is an example what I want to do.</div>
<div><a href="http://www.mathworks.com/access/helpdesk_ja_JP/help/techdoc/ref/streamtube2.gif" target="_blank">http://www.mathworks.com/access/helpdesk_ja_JP/help/techdoc/ref/streamtube2.gif</a></div>
<div> </div>
<div>In the beginning, I construct color table using vtkLookupTable.</div>
<div>But it didn&#39;t work properly. </div>
<div>
<div>------------------------------------------------------------------------------------------------------------------------</div> vtkSmartPointer&lt;vtkLookupTable&gt; lut = vtkSmartPointer&lt;vtkLookupTable&gt;::New();<br>
 lut-&gt;SetHueRange(0.0, 0.667);<br> lut-&gt;SetSaturationRange(0, 0);<br> lut-&gt;SetValueRange(0.2, 1.0);<br> lut-&gt;Build(); </div>
<div> </div>
<div> vtkSmartPointer&lt;vtkPolyDataMapper&gt; mapper = vtkSmartPointer&lt;vtkPolyDataMapper&gt;::New();<br> mapper-&gt;SetInputConnection(normals-&gt;GetOutputPort());<br> mapper-&gt;SetLookupTable(lut);<br> mapper-&gt;SetScalarRange(0.197813, 0.710419); // this is an example of book<br>
 mapper-&gt;ScalarVisibilityOn();</div>
<div>------------------------------------------------------------------------------------------------------------------------</div>
<div> </div>
<div>Does someone can know how to do this?</div>
<div> </div>
<div>Jinyoung</div>