Sir,<br>I am using Vtkimagedata and reading a java array.After rendering it in spite of viewing data its just viewing red slab of given dimension.<br>         image = new vtkImageData();<br>         image.SetExtent(0,499,0, 499,0, 49);<br>

         image.SetSpacing(0.33,0.33,1.0);<br>         image.SetScalarTypeToChar();<br>         image.SetNumberOfScalarComponents(0);<br>         image.AllocateScalars();<br>         array = image.GetPointData().GetScalars();<br>

<br>         for(int iZ = 0; iZ &lt; 50; iZ++){<br>             for(int iY= 0; iY &lt; 500; iY++){<br>                 for(int iX = 0; iX &lt; 500; iX++){<br>                        array.InsertNextTuple1(arr[iZ][iY][iX]);<br>

                    }<br>               }<br>         }<br><br>Please help.<br><br>With regards,<br>Nikhil<br>