<div>Dear friends,</div>
<div>I defined let's say 4 spheres in same file(I use vtk-legacy)</div>
<div>and now I m trying to add surface properties for these spheres.</div>
<div>first I have to add color.</div>
<div>my format is like this:</div>
<div> </div>
<div># vtk DataFile Version 3.0<br>vtk output<br>ASCII<br>DATASET POLYDATA<br>POINTS n float</div>
<div>.</div>
<div>.</div>
<div>.</div>
<div>.</div>
<div>.</div>
<div>POLYGONS m p</div>
<div>.</div>
<div>.</div>
<div>.</div>
<div>CELL_DATA m<br>SCALARS sample_scalars float 1<br>LOOKUP_TABLE my_table</div>
<div>0.0</div>
<div>1.0</div>
<div>.</div>
<div>.</div>
<div>m.0</div>
<div>LOOKUP_TABLE my_table table size(# of polygons)</div>
<div>ro go bo ao</div>
<div>r1 g1 b1 a1</div>
<div>.</div>
<div>.</div>
<div>.</div>
<div>.</div>
<div> </div>
<div>In this way I can not control the color values of individual spheres those I created,</div>
<div>and when I change the opacity of bif sphere (say outer spheres contains 3 spheres inside) the opcaity and color values change for all</div>
<div>I mean when I make changing about one object all other obfect are affected. </div>
<div>So what should I do to get rid of this problem, or how should I describe the color of my objecta in my format case.</div>
<div> </div>
<div>thanks for helping<br>tugcan</div>