<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Hello vtkers.</DIV>
<DIV>I used to think that I can use vtkMapper¡¯s ColorByArrayComponent to set a
array component to transfer value to color just as the scalar data.</DIV>
<DIV>So, I added just one line of code :
pMapper->ColorByArrayComponent("aArrayName", 0);</DIV>
<DIV>But there is nothing happened!</DIV>
<DIV>Now, I have to copy values in the array into scalar data.</DIV>
<DIV>Does anyone can tell me what I have done wrong?</DIV>
<DIV>Sincerely Chen.</DIV></DIV></DIV></BODY></HTML>